ExceptionMapper.FromException Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.