CommunicationObject.ThrowIfDisposedOrNotOpen 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.
Renvoie une exception si l'objet de communication n'est pas dans l'état Opened.
protected public:
void ThrowIfDisposedOrNotOpen();
protected:
void ThrowIfDisposedOrNotOpen();
protected internal void ThrowIfDisposedOrNotOpen ();
protected void ThrowIfDisposedOrNotOpen ();
member this.ThrowIfDisposedOrNotOpen : unit -> unit
Protected Friend Sub ThrowIfDisposedOrNotOpen ()
Protected Sub ThrowIfDisposedOrNotOpen ()
Exceptions
L'objet de communication est dans l'état Faulted et ne peut pas être modifié.