Edit

Bagikan melalui


FaultCode.CreateSenderFaultCode Method

Definition

Creates a sender fault code with the specified subcode.

Overloads

CreateSenderFaultCode(FaultCode)

Creates a sender fault code with the specified subcode.

CreateSenderFaultCode(String, String)

Creates a sender fault code with the specified subcode.

CreateSenderFaultCode(FaultCode)

Source:
FaultCode.cs
Source:
FaultCode.cs
Source:
FaultCode.cs

Creates a sender fault code with the specified subcode.

public:
 static System::ServiceModel::FaultCode ^ CreateSenderFaultCode(System::ServiceModel::FaultCode ^ subCode);
public static System.ServiceModel.FaultCode CreateSenderFaultCode (System.ServiceModel.FaultCode subCode);
static member CreateSenderFaultCode : System.ServiceModel.FaultCode -> System.ServiceModel.FaultCode
Public Shared Function CreateSenderFaultCode (subCode As FaultCode) As FaultCode

Parameters

subCode
FaultCode

A FaultCode object that represents the fault subcode.

Returns

A FaultCode object with the created SOAP fault subcode in the SubCode property.

Exceptions

subCode is null.

Applies to

CreateSenderFaultCode(String, String)

Source:
FaultCode.cs
Source:
FaultCode.cs
Source:
FaultCode.cs

Creates a sender fault code with the specified subcode.

public:
 static System::ServiceModel::FaultCode ^ CreateSenderFaultCode(System::String ^ name, System::String ^ ns);
public static System.ServiceModel.FaultCode CreateSenderFaultCode (string name, string ns);
static member CreateSenderFaultCode : string * string -> System.ServiceModel.FaultCode
Public Shared Function CreateSenderFaultCode (name As String, ns As String) As FaultCode

Parameters

name
String

The local name for the fault subcode.

ns
String

The namespace name for the fault subcode.

Returns

A FaultCode object with the created SOAP fault subcode in SubCode.

Applies to