共用方式為


SmsBackgroundWorker.CancellationPending Property

Gets a value that indicates whether the application has requested cancelation of a background operation.

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

Usage

'Usage
Dim instance As SmsBackgroundWorker
Dim value As Boolean

value = instance.CancellationPending

Syntax

'Declaration
Public ReadOnly Property CancellationPending As Boolean
public bool CancellationPending { get; }
public:
property bool CancellationPending {
    bool get ();
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public boolean get_CancellationPending ()
DebuggerStepThroughAttribute 
public function get CancellationPending () : boolean

Property Value

true if the application has requested cancelation of the operation; otherwise false.

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

SmsBackgroundWorker Class
SmsBackgroundWorker Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace