Query<T> Class

Represents a collection of query requests.

Namespace:  Microsoft.Phone.Maps.Services
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

public abstract class Query<T> : IDisposable

Type Parameters

T

The type of items in the collection.

The Query<T> type exposes the following members.

  NameDescription
Public propertyIsBusyGets a value that indicates whether the query is busy gathering results.
Top

  NameDescription
Public methodCancelAsyncCancels the query.
Protected methodCheckThreadChecks if the current thread is on a UI thread.
Public methodDispose()This API is not intended to be used directly from your code.
Protected methodDispose(Boolean)This API is not intended to be used directly from your code.
Protected methodDoCancelAsyncThis API is not intended to be used directly from your code.
Protected methodDoStartAsyncThis API is not intended to be used directly from your code.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeFinalizes an instance of the Query<T> class. (Overrides Object.Finalize().)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnQueryCompletedCalled when the query completes running.
Public methodQueryAsyncStarts the query.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventQueryCompletedOccurs when the query completes running.
Top

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_MAP

Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

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