共用方式為


IVsTask.IsFaulted Property

Definition

Gets whether the task completed with an exception. If true, an exception occurred.

public:
 property bool IsFaulted { bool get(); };
public:
 property bool IsFaulted { bool get(); };
public bool IsFaulted { get; }
member this.IsFaulted : bool
Public ReadOnly Property IsFaulted As Boolean

Property Value

Remarks

This property is safe to access from any thread.

Applies to