Share via


InstanceQueryArgs Members

A type that the BeginExecuteQuery method of the InstanceQuery class takes as a parameter and uses to query for instances stored in an instance store. The query criteria are determined by the value of properties of the QueryArgs object.

The following tables list the members exposed by the InstanceQueryArgs type.

Public Constructors

  Name Description
  InstanceQueryArgs Creates an instance of the InstanceQueryArgs class.

Top

Public Properties

  Name Description
public property CreatedTimeFrom Specifies the start of a range of time at which a service instance was first started. If this parameter is specified, only instances started on or after the given timestamp are returned.
public property CreatedTimeTo Specifies the end of a range of time at which a service instance was first started. If this parameter is specified, only instances started on or before the given timestamp are returned.
public property ExceptionName Specifies a string representing the fully qualified type name of a .NET exception. If specified, only service instances that are associated with the specified exception in persistence store are returned.
public property HostMetadata Metadata about the host
public property InstanceCondition Gets or sets the instance condition. If specified, only service instances of the specified condition are returned by the query. The possible values for this parameter are: Active, Canceled, Exception, Idle, Successful, Terminated, and UserSuspension.
public property InstanceId Specifies instance IDs (specified as GUID[]) of service instances to return. The instance ID uniquely identifies a service instance.
public property InstanceStatus Specifies the instance status. If specified, only service instances in the specified state are returned by the query. The possible values for this parameter are: Completed, Running, and Suspended.
public property MachineName Specifies a computer name. If specified, only service instances locked by this computer are returned.
public property ModifiedTimeFrom Specifies the start of a range of time at which a service instance was modified. If this parameter is specified, only instances modified on or after the given timestamp are returned.
public property ModifiedTimeTo Specifies the end of a range of time at which a service instance was modified. If this parameter is specified, only instances modified on or before the given timestamp are returned.
public property ServiceType Specifies the type of service. If specified, only instances of this service type are returned. The service type may be expressed as a full or partial path or as a fully or partially qualified .NET name and namespace. When you specify a service type by namespace, you must use the XName.ToString() format to separate the service type from the namespace. For example, if the fully qualified .NET CLR service name is Contoso.Web.Sales.POService, the parameter value should be "{Contoso.Web.Sales}POService".

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  Overloaded. (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public methodstatic ReferenceEquals  (inherited from Object)
public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

InstanceQueryArgs Class
Microsoft.ApplicationServer.StoreManagement.Query Namespace

  ff425134(v=azure.10).md 2011-08-26