Export (0) Print
Expand All

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.

  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 a hash function for a particular type. (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

.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.

Community Additions

ADD
Show:
© 2014 Microsoft