Edit

Share via


FindCriteria.CreateMetadataExchangeEndpointCriteria Method

Definition

Creates an object that contains metadata exchange endpoint criteria.

Overloads

CreateMetadataExchangeEndpointCriteria()

Creates metadata exchange endpoint criteria to use when searching for services.

CreateMetadataExchangeEndpointCriteria(IEnumerable<XmlQualifiedName>)

Creates an object that contains metadata exchange endpoint criteria derived from the specified collection of XML qualified names.

CreateMetadataExchangeEndpointCriteria(Type)

Creates an object that contains metadata exchange endpoint criteria derived from the specified contract type.

CreateMetadataExchangeEndpointCriteria()

Creates metadata exchange endpoint criteria to use when searching for services.

public:
 static System::ServiceModel::Discovery::FindCriteria ^ CreateMetadataExchangeEndpointCriteria();
public static System.ServiceModel.Discovery.FindCriteria CreateMetadataExchangeEndpointCriteria ();
static member CreateMetadataExchangeEndpointCriteria : unit -> System.ServiceModel.Discovery.FindCriteria
Public Shared Function CreateMetadataExchangeEndpointCriteria () As FindCriteria

Returns

The endpoint criteria to use to find services.

Applies to

CreateMetadataExchangeEndpointCriteria(IEnumerable<XmlQualifiedName>)

Creates an object that contains metadata exchange endpoint criteria derived from the specified collection of XML qualified names.

public:
 static System::ServiceModel::Discovery::FindCriteria ^ CreateMetadataExchangeEndpointCriteria(System::Collections::Generic::IEnumerable<System::Xml::XmlQualifiedName ^> ^ contractTypeNames);
public static System.ServiceModel.Discovery.FindCriteria CreateMetadataExchangeEndpointCriteria (System.Collections.Generic.IEnumerable<System.Xml.XmlQualifiedName> contractTypeNames);
static member CreateMetadataExchangeEndpointCriteria : seq<System.Xml.XmlQualifiedName> -> System.ServiceModel.Discovery.FindCriteria
Public Shared Function CreateMetadataExchangeEndpointCriteria (contractTypeNames As IEnumerable(Of XmlQualifiedName)) As FindCriteria

Parameters

contractTypeNames
IEnumerable<XmlQualifiedName>

A collection of enumerations that represent contract type names.

Returns

The endpoint criteria to use to find services.

Remarks

An XmlQualifiedName is a namespace-qualified local name in the format of namespace:localname.

Applies to

CreateMetadataExchangeEndpointCriteria(Type)

Creates an object that contains metadata exchange endpoint criteria derived from the specified contract type.

public:
 static System::ServiceModel::Discovery::FindCriteria ^ CreateMetadataExchangeEndpointCriteria(Type ^ contractType);
public static System.ServiceModel.Discovery.FindCriteria CreateMetadataExchangeEndpointCriteria (Type contractType);
static member CreateMetadataExchangeEndpointCriteria : Type -> System.ServiceModel.Discovery.FindCriteria
Public Shared Function CreateMetadataExchangeEndpointCriteria (contractType As Type) As FindCriteria

Parameters

contractType
Type

A type of service contract.

Returns

The endpoint criteria to use to find services.

Remarks

The FindCriteria information is used to create an endpoint that can search for services.

Applies to