Share via


DataServiceClientRequestMessageArgs Constructor

Definition

Initializes a new instance of the DataServiceClientRequestMessageArgs class.

public DataServiceClientRequestMessageArgs (string method, Uri requestUri, bool useDefaultCredentials, bool usePostTunneling, System.Collections.Generic.IDictionary<string,string> headers);
new Microsoft.OData.Client.DataServiceClientRequestMessageArgs : string * Uri * bool * bool * System.Collections.Generic.IDictionary<string, string> -> Microsoft.OData.Client.DataServiceClientRequestMessageArgs
Public Sub New (method As String, requestUri As Uri, useDefaultCredentials As Boolean, usePostTunneling As Boolean, headers As IDictionary(Of String, String))

Parameters

method
String

Method of the request.

requestUri
Uri

The Request Uri.

useDefaultCredentials
Boolean

True if the default credentials need to be sent with the request. Otherwise false.

usePostTunneling
Boolean

True if the request message must use POST verb for the request and pass the actual verb in X-HTTP-Method header, otherwise false.

headers
IDictionary<String,String>

The set of headers for the request.

Applies to