This topic has not yet been rated - Rate this topic

FindCriteria Class

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.

  Name Description
Public method FindCriteria() Creates a new instance of the FindCriteria.
Public method FindCriteria(Type) Creates a new instance of the FindCriteria class with the specified name of a contract type.
Top
  Name Description
Public property ContractTypeNames Gets the collection of contract type names to search for.
Public property Duration Gets or sets a Timespan that specifies the find operation time-out period.
Public property Extensions Gets a collection of extensions in the FindCriteria instance.
Public property MaxResults Gets or sets the maximum number of responses required from the find operation.
Public property ScopeMatchBy Gets or sets a URI that specifies how scopes are matched.
Public property Scopes Gets a collection of absolute URIs that represents scopes used to search for a service.
Top
  Name Description
Public method Static member CreateMetadataExchangeEndpointCriteria() Creates metadata exchange endpoint criteria to use when searching for services.
Public method Static member CreateMetadataExchangeEndpointCriteria(IEnumerable<XmlQualifiedName>) Creates an object that contains metadata exchange endpoint criteria derived from the specified collection of XML qualified names.
Public method Static member CreateMetadataExchangeEndpointCriteria(Type) Creates an object that contains metadata exchange endpoint criteria derived from the specified contract type.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsMatch Determines whether a set of criteria matches the service described by the specified EndpointDiscoveryMetadata instance.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Public field Static member ScopeMatchByExact 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.
Public field Static member ScopeMatchByLdap 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.
Public field Static member ScopeMatchByNone Specifies that scopes are ignored as defined by the WS-Discovery Specification.
Public field Static member ScopeMatchByPrefix 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.
Public field Static member ScopeMatchByUuid 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.
Top

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

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ