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 : System.Exception
L'exception s'est produite pendant l'exécution d'exécution éventuelle.
- cancelled
Type : System.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 : System.Object
Un identificateur unique pour le processus asynchrone.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
DataAsyncCommandCompletedEventArgs<T> Classe
Microsoft.VisualStudio.Data.Services.SupportEntities, espace de noms