This documentation is archived and is not being maintained.

FaultBindingCollection Class

Represents a collection of instances of the FaultBinding class. This class cannot be inherited.

For a list of all members of this type, see FaultBindingCollection Members.

System.Object
   System.Collections.CollectionBase
      System.Web.Services.Description.ServiceDescriptionBaseCollection
         System.Web.Services.Description.FaultBindingCollection

[Visual Basic]
NotInheritable Public Class FaultBindingCollection
   Inherits ServiceDescriptionBaseCollection
[C#]
public sealed class FaultBindingCollection :
   ServiceDescriptionBaseCollection
[C++]
public __gc __sealed class FaultBindingCollection : public
   ServiceDescriptionBaseCollection
[JScript]
public class FaultBindingCollection extends
   ServiceDescriptionBaseCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Example

[Visual Basic] 
' Creates an Import object with namespace and location.
Public Shared Function CreateImport(targetNamespace As String, _
   targetlocation As String) As Import
   Dim myImport As New Import()
   myImport.Location = targetlocation
   myImport.Namespace = targetNamespace
   Return myImport
End Function 'CreateImport

[C#] 
// Creates an Import object with namespace and location.
public static Import CreateImport(string targetNamespace, 
   string targetlocation)
{
   Import myImport = new Import();
   myImport.Location = targetlocation;
   myImport.Namespace = targetNamespace;
   return myImport;
}

[C++] 
// Creates an Import object with namespace and location.
Import * CreateImport(String* targetNamespace, String* targetlocation) 
{
   Import* myImport = new Import();
   myImport->Location = targetlocation;
   myImport->Namespace = targetNamespace;
   return myImport;
}

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Namespace: System.Web.Services.Description

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

FaultBindingCollection Members | System.Web.Services.Description Namespace | FaultBinding

Show: