Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
OperationCanceledException.cs
Go to the documentation of this file.
4
5namespace System;
6
8[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
10{
13
15 {
16 get
17 {
18 return _cancellationToken;
19 }
20 private set
21 {
23 }
24 }
25
27 : base(SR.OperationCanceled)
28 {
29 base.HResult = -2146233029;
30 }
31
32 public OperationCanceledException(string? message)
33 : base(message)
34 {
35 base.HResult = -2146233029;
36 }
37
39 : base(message, innerException)
40 {
41 base.HResult = -2146233029;
42 }
43
45 : this()
46 {
47 CancellationToken = token;
48 }
49
50 public OperationCanceledException(string? message, CancellationToken token)
51 : this(message)
52 {
53 CancellationToken = token;
54 }
55
57 : this(message, innerException)
58 {
59 CancellationToken = token;
60 }
61
63 : base(info, context)
64 {
65 }
66}
OperationCanceledException(string? message, Exception? innerException, CancellationToken token)
OperationCanceledException(string? message, CancellationToken token)
OperationCanceledException(SerializationInfo info, StreamingContext context)
OperationCanceledException(string? message, Exception? innerException)
OperationCanceledException(CancellationToken token)
Definition SR.cs:7