Export (0) Print
Expand All

ServiceEndpointCollection.FindAll Method (XmlQualifiedName)

Returns a collection of all the service endpoints for a specified service name.

Namespace: System.ServiceModel.Description
Assembly: System.ServiceModel (in system.servicemodel.dll)

public Collection<ServiceEndpoint> FindAll (
	XmlQualifiedName contractName
)
public Collection<ServiceEndpoint> FindAll (
	XmlQualifiedName contractName
)
public function FindAll (
	contractName : XmlQualifiedName
) : Collection<ServiceEndpoint>
Not applicable.

Parameters

contractName

The XmlQualifiedName for the service.

Return Value

The Collection of type ServiceEndpoint that contains service endpoints with the specified contract name and namespace or the empty collection if none is found.

Exception typeCondition

ArgumentNullException

contractName is a null reference (Nothing in Visual Basic).

If you only need to find the first ServiceEndpoint that satisfies the specified criteria, use one of the Find methods instead.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft