DataAsyncCommandCompletedEventArgs<T>, constructeur

Initialise une nouvelle instance de la classe DataAsyncCommandCompletedEventArgs<T> avec les paramètres spécifiés.

Espace de noms :  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • error
    Type : Exception

    L'exception s'est produite pendant l'exécution d'exécution éventuelle.

  • cancelled
    Type : Boolean

    Une valeur d' Boolean indiquant si l'opération a été annulée.

  • returnValue
    Type : T

    La valeur de retour de l'opération exécutée.

  • userState
    Type : Object

    Un identificateur unique pour le processus asynchrone.

Sécurité .NET Framework

Voir aussi

Référence

DataAsyncCommandCompletedEventArgs<T> Classe

Microsoft.VisualStudio.Data.Services.SupportEntities, espace de noms