Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the DataAsyncCommandCompletedEventArgs<T> class with the specified parameters.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Public Sub New ( _
error As Exception, _
cancelled As Boolean, _
returnValue As T, _
userState As Object _
)
public DataAsyncCommandCompletedEventArgs(
Exception error,
bool cancelled,
T returnValue,
Object userState
)
public:
DataAsyncCommandCompletedEventArgs(
Exception^ error,
bool cancelled,
T returnValue,
Object^ userState
)
new :
error:Exception *
cancelled:bool *
returnValue:'T *
userState:Object -> DataAsyncCommandCompletedEventArgs
public function DataAsyncCommandCompletedEventArgs(
error : Exception,
cancelled : boolean,
returnValue : T,
userState : Object
)
Parameters
error
Type: System.ExceptionThe exception that occurred during the operation execution, if any.
cancelled
Type: System.BooleanA Boolean value indicating whether the operation was cancelled.
returnValue
Type: TThe return value of the executed operation.
userState
Type: System.ObjectA unique identifier for the asynchronous process.
.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.
See Also
Reference
DataAsyncCommandCompletedEventArgs<T> Class
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace