Translates the input exception to a fault
using the mapping defined in ExceptionMap.
Namespace: Microsoft.IdentityModel
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As ExceptionMapper
Dim ex As Exception
Dim returnValue As FaultException
returnValue = instance.FromException(ex)
|
Syntax
Visual Basic |
Public Overridable Function FromException ( _
ex As Exception _
) As FaultException
|
C# |
public virtual FaultException FromException (
Exception ex
)
|
C++ |
public:
virtual FaultException^ FromException (
Exception^ ex
)
|
J# |
public FaultException FromException (
Exception ex
)
|
JScript |
public function FromException (
ex : Exception
) : FaultException
|
Parameters
- ex
-
The exception to be mapped to a fault.
Return Value
The fault corresponding to the input exception.
Exceptions
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also