Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FindCriteria Class

.NET Framework (current version)
 

Represents the criteria to use when searching for services.

Namespace:   System.ServiceModel.Discovery
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)

System::Object
  System.ServiceModel.Discovery::FindCriteria

public ref class FindCriteria 

NameDescription
System_CAPS_pubmethodFindCriteria()

Creates a new instance of the FindCriteria.

System_CAPS_pubmethodFindCriteria(Type^)

Creates a new instance of the FindCriteria class with the specified name of a contract type.

NameDescription
System_CAPS_pubpropertyContractTypeNames

Gets the collection of contract type names to search for.

System_CAPS_pubpropertyDuration

Gets or sets a TimeSpan that specifies the find operation time-out period.

System_CAPS_pubpropertyExtensions

Gets a collection of extensions in the FindCriteria instance.

System_CAPS_pubpropertyMaxResults

Gets or sets the maximum number of responses required from the find operation.

System_CAPS_pubpropertyScopeMatchBy

Gets or sets a URI that specifies how scopes are matched.

System_CAPS_pubpropertyScopes

Gets a collection of absolute URIs that represents scopes used to search for a service.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateMetadataExchangeEndpointCriteria()

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

System_CAPS_pubmethodSystem_CAPS_staticCreateMetadataExchangeEndpointCriteria(IEnumerable<XmlQualifiedName^>^)

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

System_CAPS_pubmethodSystem_CAPS_staticCreateMetadataExchangeEndpointCriteria(Type^)

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

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsMatch(EndpointDiscoveryMetadata^)

Determines whether a set of criteria matches the service described by the specified EndpointDiscoveryMetadata instance.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticScopeMatchByExact

Specifies that scopes are matched by using a case-sensitive comparison (http://schemas.xmlsoap.org/ws/2004/10/discovery/strcmp0) as defined by the WS-Discovery Specification.

System_CAPS_pubfieldSystem_CAPS_staticScopeMatchByLdap

Specifies that scopes are matched by using the LDAP method (http://schemas.xmlsoap.org/ws/2004/10/discovery/ldap) as defined by the WS-Discovery Specification.

System_CAPS_pubfieldSystem_CAPS_staticScopeMatchByNone

Specifies that scopes are ignored as defined by the WS-Discovery Specification.

System_CAPS_pubfieldSystem_CAPS_staticScopeMatchByPrefix

Specifies that scopes are matched using the prefix method (http://schemas.xmlsoap.org/ws/2004/10/discovery/rfc2396) as defined by the WS-Discovery Specification.

System_CAPS_pubfieldSystem_CAPS_staticScopeMatchByUuid

Specifies that scopes are matched by using the UUID method (http://schemas.xmlsoap.org/ws/2004/10/discovery/uuid) as defined by the WS-Discovery Specification.

For more information about using FindCriteria and the Find operation, see Discovery Find and FindCriteria

.NET Framework
Available since 4.0

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

Return to top
Show:
© 2017 Microsoft