Partage via


IClientResponseChannelSinkStack.DispatchException(Exception) Méthode

Définition

Distribue l'exception spécifiée sur le récepteur de réponse.

public:
 void DispatchException(Exception ^ e);
public void DispatchException (Exception e);
[System.Security.SecurityCritical]
public void DispatchException (Exception e);
abstract member DispatchException : Exception -> unit
[<System.Security.SecurityCritical>]
abstract member DispatchException : Exception -> unit
Public Sub DispatchException (e As Exception)

Paramètres

e
Exception

Exception à distribuer au serveur.

Attributs

Exceptions

L'appelant immédiat n'a pas d'autorisation d'accès à l'infrastructure.

Remarques

La DispatchException méthode distribue l’exception spécifiée au serveur via le récepteur de réponse spécifié dans le constructeur de la pile de récepteurs actuelle. Si la pile de récepteurs actuelle a été créée sans récepteur de réponse, l’exception n’est pas transmise et aucune nouvelle exception n’est levée.

S’applique à