IBackgroundOperationContext.OnError(Exception) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique une exception qui s'affiche lorsque l'erreur se produit pendant l'opération.
public:
void OnError(Exception ^ errorInformation);
public void OnError (Exception errorInformation);
abstract member OnError : Exception -> unit
Public Sub OnError (errorInformation As Exception)
Paramètres
- errorInformation
- Exception
Valeur qui représente le message d'erreur.