Compartir a través de


QueryAttribute Constructors

Definition

Overloads

QueryAttribute()

Initializes a new instance of the QueryAttribute class.

QueryAttribute(String)

Initializes a new instance of the QueryAttribute class.

QueryAttribute()

Source:
QueryAttribute.cs

Initializes a new instance of the QueryAttribute class.

public:
 QueryAttribute();
public QueryAttribute();
Public Sub New ()

Remarks

This overload uses the name of the associated method parameter as the query string key.

Applies to

QueryAttribute(String)

Source:
QueryAttribute.cs

Initializes a new instance of the QueryAttribute class.

public:
 QueryAttribute(System::String ^ key);
public QueryAttribute(string key);
new Microsoft.Extensions.Http.AutoClient.QueryAttribute : string -> Microsoft.Extensions.Http.AutoClient.QueryAttribute
Public Sub New (key As String)

Parameters

key
String

The query key to use in the request.

Applies to