共用方式為


CimAsyncStatus Class

 

Represents a pending asynchronous operation that does not return an object.

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

Inheritance Hierarchy

System.Object
  Microsoft.Management.Infrastructure.Generic.CimAsyncStatus

Syntax

public class CimAsyncStatus : IObservable<object>
public ref class CimAsyncStatus : IObservable<Object^>
type CimAsyncStatus = 
    class
        interface IObservable<Object>
    end
Public Class CimAsyncStatus
    Implements IObservable(Of Object)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Subscribe(IObserver<Object>)

Starts the operation and then communicates back to the given observer.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The operation wrapped by this class does not begin until the Subscribe method is called. That method may be called more than once, with each call beginning another operation. The results of an operation are asynchronously communicated to the observer that is passed to that method. See the IObservable<T> and IObserver<T> interfaces for more details about the asynchronous pattern exposed by this class.

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.

See Also

Microsoft.Management.Infrastructure.Generic Namespace

Return to top