ServiceEndpointCollection.FindAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection of all the service endpoints that satisfy specific criteria.
Overloads
FindAll(Type) |
Returns a collection of all the service endpoints for a specified type of service. |
FindAll(XmlQualifiedName) |
Returns a collection of all the service endpoints for a specified service name. |
Remarks
If you only need to find the first ServiceEndpoint that satisfies the specified criteria, use one of the Find methods instead.
FindAll(Type)
- Source:
- ServiceEndpointCollection.cs
- Source:
- ServiceEndpointCollection.cs
- Source:
- ServiceEndpointCollection.cs
Returns a collection of all the service endpoints for a specified type of service.
public:
System::Collections::ObjectModel::Collection<System::ServiceModel::Description::ServiceEndpoint ^> ^ FindAll(Type ^ contractType);
public System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint> FindAll (Type contractType);
member this.FindAll : Type -> System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint>
Public Function FindAll (contractType As Type) As Collection(Of ServiceEndpoint)
Parameters
Returns
The Collection<T> of type ServiceEndpoint that contains service endpoints of the specified type or the empty collection if none is found.
Exceptions
contractType
is null
.
Remarks
If you only need to find the first ServiceEndpoint that satisfies the specified criteria, use one of the Find methods instead.
Applies to
FindAll(XmlQualifiedName)
- Source:
- ServiceEndpointCollection.cs
- Source:
- ServiceEndpointCollection.cs
- Source:
- ServiceEndpointCollection.cs
Returns a collection of all the service endpoints for a specified service name.
public:
System::Collections::ObjectModel::Collection<System::ServiceModel::Description::ServiceEndpoint ^> ^ FindAll(System::Xml::XmlQualifiedName ^ contractName);
public System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint> FindAll (System.Xml.XmlQualifiedName contractName);
member this.FindAll : System.Xml.XmlQualifiedName -> System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint>
Public Function FindAll (contractName As XmlQualifiedName) As Collection(Of ServiceEndpoint)
Parameters
- contractName
- XmlQualifiedName
The XmlQualifiedName for the service.
Returns
The Collection<T> of type ServiceEndpoint that contains service endpoints with the specified contract name and namespace or the empty collection if none is found.
Exceptions
contractName
is null
.
Remarks
If you only need to find the first ServiceEndpoint that satisfies the specified criteria, use one of the Find methods instead.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기