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 ReadOnly Property Faults As FaultBindingCollection

Property Value

Type: System.Web.Services.Description.FaultBindingCollection

A fault binding collection.

' Create an extensibility element for a SoapOperationBinding.
Dim mySoapOperationBinding As New SoapOperationBinding()
mySoapOperationBinding.Style = SoapBindingStyle.Document
mySoapOperationBinding.SoapAction = myTargetNamespace & addOperation

' Add the extensibility element SoapOperationBinding to 
' the OperationBinding.
addOperationBinding.Extensions.Add(mySoapOperationBinding)

.NET Framework
Available since 1.1
Return to top
Show: