共用方式為


IVsTask.AsyncState Property

Definition

Gets the asynchronous state object that was given when the task was created.

public:
 property System::Object ^ AsyncState { System::Object ^ get(); };
public:
 property Platform::Object ^ AsyncState { Platform::Object ^ get(); };
public object AsyncState { get; }
member this.AsyncState : obj
Public ReadOnly Property AsyncState As Object

Property Value

Remarks

This property is safe to access from any thread.

Applies to