共用方式為


DataAsyncCommandEvents.CommandFailure 屬性

擷取或設定要呼叫的委派,當非同步命令發生失敗時。

命名空間:  Microsoft.VisualStudio.Data
組件:  Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)

語法

'宣告
Public Property CommandFailure As DataAsyncCommandFailureEventHandler
public DataAsyncCommandFailureEventHandler CommandFailure { get; set; }
public:
property DataAsyncCommandFailureEventHandler^ CommandFailure {
    DataAsyncCommandFailureEventHandler^ get ();
    void set (DataAsyncCommandFailureEventHandler^ value);
}
member CommandFailure : DataAsyncCommandFailureEventHandler with get, set
function get CommandFailure () : DataAsyncCommandFailureEventHandler 
function set CommandFailure (value : DataAsyncCommandFailureEventHandler)

屬性值

類型:Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler
傳回 CommandFailure 事件處理常式的委派。

.NET Framework 安全性

請參閱

參考

DataAsyncCommandEvents 類別

Microsoft.VisualStudio.Data 命名空間

DataAsyncCommandFailureEventHandler