FaultContractInfo Constructor
Collapse the table of content
Expand the table of content

FaultContractInfo Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the FaultContractInfo class that uses the specified action and detail type.

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

public FaultContractInfo(
	string action,
	Type detail
)

Parameters

action
Type: System.String
The action of the SOAP fault.
detail
Type: System.Type
The detail type that is serialized as the SOAP fault detail.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft