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