共用方式為


CimOperationOptions.CancellationToken Property

 

Gets or sets a token that can be used to cancel the operation.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public Nullable<CancellationToken> CancellationToken { get; set; }
public:
property Nullable<CancellationToken> CancellationToken {
    Nullable<CancellationToken> get();
    void set(Nullable<CancellationToken> value);
}
member CancellationToken : Nullable<CancellationToken> with get, set
Public Property CancellationToken As Nullable(Of CancellationToken)

Property Value

Type: System.Nullable<CancellationToken>

The cancellation token.

See Also

CimOperationOptions Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top