MessageFault::CreateFault Method (Message^, Int32)
.NET Framework (current version)
Returns a new MessageFault object that uses the specified Message and the specified maximum buffer size for the message buffer.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- message
-
Type:
System.ServiceModel.Channels::Message^
The specified Message to be used to create the MessageFault object.
- maxBufferSize
-
Type:
System::Int32
The specified maximum buffer size for the message buffer
Return Value
Type: System.ServiceModel.Channels::MessageFault^A MessageFault object with initial values from the passed in parameters.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Show: