다음을 통해 공유


AsyncOperationDatabase.Cancelled Property

Gets or sets a value that indicates whether the AsyncOperationDatabase object is canceled.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As AsyncOperationDatabase
Dim value As Boolean

value = instance.Cancelled

instance.Cancelled = value

Syntax

'Declaration
Public Property Cancelled As Boolean
public bool Cancelled { get; set; }
public:
property bool Cancelled {
    bool get ();
    void set (bool value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public boolean get_Cancelled ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_Cancelled (boolean value)
DebuggerStepThroughAttribute 
public function get Cancelled () : boolean

DebuggerStepThroughAttribute 
public function set Cancelled (value : boolean)

Property Value

true if the object is canceled; otherwise false.

Remarks

Your application cancels the object by using a call to CancelAsync.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

AsyncOperationDatabase Class
AsyncOperationDatabase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
AsyncOperationDatabase.CancelAsync Method