DataAsyncCommandEvents.CommandFailure Property
Retrieves or sets the delegate that is called when an asynchronous command has a failure.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
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)
Property Value
Type: Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler
Returns a delegate for the CommandFailure event handler.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.