Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MessageFault::CreateFault Method

 

Returns a new MessageFault object.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateFault(FaultCode^, FaultReason^)

Returns a new MessageFault object that uses the specified FaultCode and FaultReason objects.

System_CAPS_pubmethodSystem_CAPS_staticCreateFault(FaultCode^, FaultReason^, Object^)

Returns a new MessageFault object that uses the specified FaultCode, FaultReason, and detail object.

System_CAPS_pubmethodSystem_CAPS_staticCreateFault(FaultCode^, FaultReason^, Object^, XmlObjectSerializer^)

Returns a new MessageFault object that uses the specified FaultCode, FaultReason, detail object, and XmlObjectSerializer objects.

System_CAPS_pubmethodSystem_CAPS_staticCreateFault(FaultCode^, FaultReason^, Object^, XmlObjectSerializer^, String^)

Returns a new MessageFault object that uses the specified FaultCode, FaultReason, detail object, XmlObjectSerializer, and actor.

System_CAPS_pubmethodSystem_CAPS_staticCreateFault(FaultCode^, FaultReason^, Object^, XmlObjectSerializer^, String^, String^)

Returns a new MessageFault object that uses the specified FaultCode, FaultReason, detail object, XmlObjectSerializer, actor, and node values.

System_CAPS_pubmethodSystem_CAPS_staticCreateFault(FaultCode^, String^)

Returns a new MessageFault object that uses the specified FaultCode and fault reason.

System_CAPS_pubmethodSystem_CAPS_staticCreateFault(Message^, Int32)

Returns a new MessageFault object that uses the specified Message and the specified maximum buffer size for the message buffer.

Return to top
Show:
© 2017 Microsoft