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 | |
---|---|---|
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. | |
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. | |
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. | |
HostMetadata | Metadata about the host | |
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. | |
InstanceId | Specifies instance IDs (specified as GUID[]) of service instances to return. The instance ID uniquely identifies a service instance. | |
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. | |
MachineName | Specifies a computer name. If specified, only service instances locked by this computer are returned. | |
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. | |
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. | |
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 | |
---|---|---|
Equals | Overloaded. (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
ReferenceEquals | (inherited from Object) | |
ToString | (inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
MemberwiseClone | (inherited from Object) |
Top
See Also
Reference
InstanceQueryArgs Class
Microsoft.ApplicationServer.StoreManagement.Query Namespace
ff425134(v=azure.10).md 2011-08-26