RequestFaultException constructor.
Namespace: Microsoft.IdentityModel.Protocols
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim reason As FaultReason
Dim code As FaultCode

Dim instance As New RequestFaultException(reason, code)

Syntax

Visual Basic
Protected Sub New ( _
		reason As FaultReason, _
		code As FaultCode _
)
C#
protected RequestFaultException (
		FaultReason reason,
		FaultCode code
)
C++
protected:
RequestFaultException (
		FaultReason^ reason, 
		FaultCode^ code
)
J#
protected RequestFaultException (
		FaultReason reason, 
		FaultCode code
)
JScript
protected function RequestFaultException (
		reason : FaultReason, 
		code : FaultCode
)

Parameters

reason

The FaultReason to be used for the FaultException.

code

The FaultCode to be used for the FaultException.

Exceptions

Exception type Condition

Remarks


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Not tested on Windows XP

See Also