WsFaultException Constructor (WsWsaHeader, WsFaultType, String, String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the WsFaultException class.
Namespace: Ws.Services.Faults
Assembly: MFWsStack (in MFWsStack.dll)
Syntax
'Declaration
Public Sub New ( _
header As WsWsaHeader, _
faultType As WsFaultType, _
message As String, _
detail As String _
)
public WsFaultException(
WsWsaHeader header,
WsFaultType faultType,
string message,
string detail
)
public:
WsFaultException(
WsWsaHeader^ header,
WsFaultType faultType,
String^ message,
String^ detail
)
new :
header:WsWsaHeader *
faultType:WsFaultType *
message:string *
detail:string -> WsFaultException
public function WsFaultException(
header : WsWsaHeader,
faultType : WsFaultType,
message : String,
detail : String
)
Parameters
- header
Type: Ws.Services.WsaAddressing. . :: . .WsWsaHeader
The exception's header information.
- faultType
Type: Ws.Services.Faults. . :: . .WsFaultType
The type of Web Services fault that occurred.
- message
Type: System. . :: . .String
The error message describing the fault.
- detail
Type: System. . :: . .String
The detail content of the exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.