OperationBinding::Faults Property

 

Gets the FaultBindingCollection associated with the OperationBinding instance.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property FaultBindingCollection^ Faults {
	FaultBindingCollection^ get();
}

Property Value

Type: System.Web.Services.Description::FaultBindingCollection^

A fault binding collection.

// Create an extensibility element for a SoapOperationBinding.
SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
mySoapOperationBinding->Style = SoapBindingStyle::Document;
mySoapOperationBinding->SoapAction = String::Concat( myTargetNamespace, addOperation );

// Add the extensibility element SoapOperationBinding to 
// the OperationBinding.
addOperationBinding->Extensions->Add( mySoapOperationBinding );

.NET Framework
Available since 1.1
Return to top
Show: