편집

다음을 통해 공유


FaultException.CreateMessageFault Method

Definition

Returns a MessageFault object.

public:
 virtual System::ServiceModel::Channels::MessageFault ^ CreateMessageFault();
public virtual System.ServiceModel.Channels.MessageFault CreateMessageFault ();
abstract member CreateMessageFault : unit -> System.ServiceModel.Channels.MessageFault
override this.CreateMessageFault : unit -> System.ServiceModel.Channels.MessageFault
Public Overridable Function CreateMessageFault () As MessageFault

Returns

The in-memory representation of a SOAP fault that can be passed to CreateMessage to create a message that contains a fault. For FaultException objects that result from fault messages, this MessageFault object is the fault that arrives.

Applies to