ExceptionMapper.FromException Methode

Definitie

Vertaalt de invoer-uitzondering naar een fout.

Overloads

Name Description
FromException(Exception)

Vertaalt de invoer-uitzondering naar een fout.

FromException(Exception, String, String)

Vertaalt de invoer-uitzondering naar een fout.

FromException(Exception)

Vertaalt de invoer-uitzondering naar een fout.

public:
 virtual System::ServiceModel::FaultException ^ FromException(Exception ^ ex);
public virtual System.ServiceModel.FaultException FromException(Exception ex);
abstract member FromException : Exception -> System.ServiceModel.FaultException
override this.FromException : Exception -> System.ServiceModel.FaultException
Public Overridable Function FromException (ex As Exception) As FaultException

Parameters

ex
Exception

De uitzondering die moet worden toegewezen aan een fout.

Retouren

De fout die overeenkomt met de invoer-uitzondering.

Van toepassing op

FromException(Exception, String, String)

Vertaalt de invoer-uitzondering naar een fout.

public:
 virtual System::ServiceModel::FaultException ^ FromException(Exception ^ ex, System::String ^ soapNamespace, System::String ^ trustNamespace);
public virtual System.ServiceModel.FaultException FromException(Exception ex, string soapNamespace, string trustNamespace);
abstract member FromException : Exception * string * string -> System.ServiceModel.FaultException
override this.FromException : Exception * string * string -> System.ServiceModel.FaultException
Public Overridable Function FromException (ex As Exception, soapNamespace As String, trustNamespace As String) As FaultException

Parameters

ex
Exception

De uitzondering die moet worden toegewezen aan een fout.

soapNamespace
String

De SOAP-naamruimte die moet worden gebruikt bij het genereren van de toegewezen fout.

trustNamespace
String

De WS-Trust naamruimte die moet worden gebruikt bij het genereren van de toegewezen fout.

Retouren

De fout die overeenkomt met de invoer-uitzondering.

Van toepassing op