FaultException<TDetail>.CreateMessageFault Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a MessageFault object that can be used to create a Message that represents the SOAP fault.
public:
 override System::ServiceModel::Channels::MessageFault ^ CreateMessageFault();public override System.ServiceModel.Channels.MessageFault CreateMessageFault();override this.CreateMessageFault : unit -> System.ServiceModel.Channels.MessageFaultPublic Overrides Function CreateMessageFault () As MessageFaultReturns
The message fault created.