public sealed class TimeoutTokenSource : DisposableObjectPublic NotInheritable Class TimeoutTokenSource
Inherits DisposableObject[<SealedAttribute>]
type TimeoutTokenSource =
class
inherit DisposableObject
end| TimeoutTokenSource | 初始化TimeoutTokenSource类的新实例。 |
| DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
| State | 获取当前超时令牌源的状态。 |
| Token | 获取组合后的取消令牌。 |
| CheckCancellationResult | 检查取消结果并转换为适当的结果类型。 |
| Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| HandleCancellation | 处理操作取消异常,转换为适当的异常类型并更新状态。 |
| MarkCompleted | 标记操作成功完成。 |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |