Επεξεργασία

Κοινή χρήση μέσω


FindCriteria Class

Definition

Represents the criteria to use when searching for services.

public ref class FindCriteria
public class FindCriteria
type FindCriteria = class
Public Class FindCriteria
Inheritance
FindCriteria

Remarks

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

Constructors

FindCriteria()

Creates a new instance of the FindCriteria.

FindCriteria(Type)

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

Fields

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.

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.

ScopeMatchByNone

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

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.

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.

Properties

ContractTypeNames

Gets the collection of contract type names to search for.

Duration

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

Extensions

Gets a collection of extensions in the FindCriteria instance.

MaxResults

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

ScopeMatchBy

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

Scopes

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

Methods

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.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsMatch(EndpointDiscoveryMetadata)

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to