Share via


QueryBody Constructors

Definition

Overloads

QueryBody()

Initializes a new instance of the QueryBody class.

QueryBody(String, String, IList<String>)

Initializes a new instance of the QueryBody class.

QueryBody()

Source:
QueryBody.cs

Initializes a new instance of the QueryBody class.

public QueryBody ();
Public Sub New ()

Applies to

QueryBody(String, String, IList<String>)

Source:
QueryBody.cs

Initializes a new instance of the QueryBody class.

public QueryBody (string query, string timespan = default, System.Collections.Generic.IList<string> applications = default);
new Microsoft.Azure.ApplicationInsights.Query.Models.QueryBody : string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.ApplicationInsights.Query.Models.QueryBody
Public Sub New (query As String, Optional timespan As String = Nothing, Optional applications As IList(Of String) = Nothing)

Parameters

query
String

The query to execute.

timespan
String

Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

applications
IList<String>

A list of Application IDs for cross-application queries.

Applies to