Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FindCriteria Class

.NET Framework 4.6 and 4.5

Represents the criteria to use when searching for services.

System.Object
  System.ServiceModel.Discovery.FindCriteria

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

public class FindCriteria

The FindCriteria type exposes the following members.

  NameDescription
Public methodFindCriteria()Creates a new instance of the FindCriteria.
Public methodFindCriteria(Type)Creates a new instance of the FindCriteria class with the specified name of a contract type.
Top

  NameDescription
Public propertyContractTypeNamesGets the collection of contract type names to search for.
Public propertyDurationGets or sets a Timespan that specifies the find operation time-out period.
Public propertyExtensionsGets a collection of extensions in the FindCriteria instance.
Public propertyMaxResultsGets or sets the maximum number of responses required from the find operation.
Public propertyScopeMatchByGets or sets a URI that specifies how scopes are matched.
Public propertyScopesGets a collection of absolute URIs that represents scopes used to search for a service.
Top

  NameDescription
Public methodStatic memberCreateMetadataExchangeEndpointCriteria()Creates metadata exchange endpoint criteria to use when searching for services.
Public methodStatic memberCreateMetadataExchangeEndpointCriteria(IEnumerable<XmlQualifiedName>)Creates an object that contains metadata exchange endpoint criteria derived from the specified collection of XML qualified names.
Public methodStatic memberCreateMetadataExchangeEndpointCriteria(Type)Creates an object that contains metadata exchange endpoint criteria derived from the specified contract type.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsMatchDetermines whether a set of criteria matches the service described by the specified EndpointDiscoveryMetadata instance.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberScopeMatchByExactSpecifies 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.
Public fieldStatic memberScopeMatchByLdapSpecifies 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.
Public fieldStatic memberScopeMatchByNoneSpecifies that scopes are ignored as defined by the WS-Discovery Specification.
Public fieldStatic memberScopeMatchByPrefixSpecifies that scopes are matched using the prefix method (http://schemas.xmlsoap.org/ws/2004/10/discovery/rfc2396) as defined by the WS-Discovery Specification.
Public fieldStatic memberScopeMatchByUuidSpecifies 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.
Top

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

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