表示要调用的方法时,异步命令失败时。
命名空间: Microsoft.VisualStudio.Data
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)
语法
声明
Public Delegate Sub DataAsyncCommandFailureEventHandler ( _
e As Exception, _
nonFatal As Boolean _
)
public delegate void DataAsyncCommandFailureEventHandler(
Exception e,
bool nonFatal
)
public delegate void DataAsyncCommandFailureEventHandler(
Exception^ e,
bool nonFatal
)
type DataAsyncCommandFailureEventHandler =
delegate of
e:Exception *
nonFatal:bool -> unit
JScript 不支持委托。
参数
- e
类型:System.Exception
发生导致命令失败的异常。
- nonFatal
类型:System.Boolean
表示,如果该失败非致命的;即命令继续运行,此方法返回后。
备注
此委托调用,在异步方法调用对 DataAsyncCommand 对象,而失败。