IEwsHttpWebRequest.Method property

Gets or sets the method for the request.

The Method property is applicable for clients that target Exchange Online and versions of Exchange starting with Microsoft Exchange Server 2007.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

Syntax

'Declaration
Property Method As String
    Get
    Set
'Usage
Dim instance As IEwsHttpWebRequest
Dim value As String

value = instance.Method

instance.Method = value
string Method { get; set; }

Property value

Type: System.String
The request method to use to contact the Internet resource. The default value is get.

Exceptions

Exception Condition
ArgumentException

No method is supplied, or the method string contains invalid characters.

See also

Reference

IEwsHttpWebRequest interface

IEwsHttpWebRequest members

Microsoft.Exchange.WebServices.Data namespace