다음을 통해 공유


ReferralCache.Query Method

Queries the referral cache for the specified referral.

Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim referralQuery As Query
Dim returnValue As QueryResponse
returnValue = ReferralCache.Query(referralQuery)

Syntax

'Declaration
Public Shared Function Query( _
    ByVal referralQuery As Query _
) As QueryResponse
public static QueryResponse Query(
    Query referralQuery
);
public:
static QueryResponse^ Query(
    Query^ referralQuery
);
public static QueryResponse Query(
    Query referralQuery
);
public static function Query(
     referralQuery : Query
) : QueryResponse;

Parameters

  • referralQuery

Return Value

A QueryResponse that contains the result of the specified query.

Exceptions

Exception type Condition
ArgumentNullException

query is null.

ArgumentException

Both exact and prefix matching criteria are specified.

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

ReferralCache Class
ReferralCache Members
Microsoft.Web.Services3.Referral Namespace