DataServiceClientRequestMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class represents the contract WCF Data Services client with the request message.
public abstract class DataServiceClientRequestMessage : Microsoft.OData.IODataRequestMessage
type DataServiceClientRequestMessage = class
interface IODataRequestMessage
Public MustInherit Class DataServiceClientRequestMessage
Implements IODataRequestMessage
- Inheritance
-
DataServiceClientRequestMessage
- Derived
- Implements
Constructors
DataServiceClientRequestMessage(String) |
Initializes a new instance of the DataServiceClientRequestMessage class. |
Properties
ActualMethod |
Gets or the actual method. In post tunneling situations method will be POST instead of the specified verb method. |
Credentials |
Gets or set the credentials for this request. |
Headers |
Returns the collection of request headers. |
Method |
Gets or sets the method for this request. |
ReadWriteTimeout |
Gets or sets the read and write timeout (in seconds) for this request. |
SendChunked |
Gets or sets a value that indicates whether to send data in segments to the Internet resource. |
Timeout |
Gets or sets the timeout (in seconds) for this request. |
Url |
Gets or sets the request url. |
Methods
Abort() |
Abort the current request. |
BeginGetRequestStream(AsyncCallback, Object) |
Begins an asynchronous request for a System.IO.Stream object to use to write data. |
BeginGetResponse(AsyncCallback, Object) |
Begins an asynchronous request to an Internet resource. |
EndGetRequestStream(IAsyncResult) |
Ends an asynchronous request for a System.IO.Stream object to use to write data. |
EndGetResponse(IAsyncResult) |
Ends an asynchronous request to an Internet resource. |
GetHeader(String) |
Returns the value of the header with the given name. |
GetResponse() |
Returns a response from an Internet resource. |
GetStream() |
Gets the stream to be used to write the request payload. |
SetHeader(String, String) |
Sets the value of the header with the given name. |