Méthode | Description | |
---|---|---|
Connect ( string mailStoreUrl, string domain, string userName, string userDN, string password ) : uint |
The private method to connect the exchange server through MAPIHTTP transport.
|
|
Disconnect ( ) : uint |
This method sends the disconnect request through MAPIHTTP transport to the server.
|
|
Execute ( byte rgbIn, uint pcbOut, byte &rawData ) : uint |
Send ROP request through MAPI over HTTP
|
|
MapiHttpAdapter ( ITestSite site ) : System |
Initializes a new instance of the MapiHttpAdapter class.
|
|
NotificationWaitCall ( IRequestBody requestBody ) : NotificationWaitSuccessResponseBody |
The method to send NotificationWait request to the server.
|
|
ReadHttpResponse ( |
The method gets the binary data from the response data.
|
|
SendMAPIHttpRequest ( ITestSite site, string mailStoreUrl, string userName, string domain, string password, IRequestBody requestBody, string requestType, |
The method to send MAPIHTTP request to the server.
|
public Connect ( string mailStoreUrl, string domain, string userName, string userDN, string password ) : uint | ||
mailStoreUrl | string | The mail store Url. |
domain | string | The domain the server is deployed. |
userName | string | The domain account name |
userDN | string | User's distinguished name (DN). |
password | string | user Password. |
Résultat | uint |
public Execute ( byte rgbIn, uint pcbOut, byte &rawData ) : uint | ||
rgbIn | byte | ROP request buffer. |
pcbOut | uint | The maximum size of the rgbOut buffer to place response in. |
rawData | byte | The response payload bytes. |
Résultat | uint |
public MapiHttpAdapter ( ITestSite site ) : System | ||
site | ITestSite | site used to write log to log files |
Résultat | System |
public NotificationWaitCall ( IRequestBody requestBody ) : NotificationWaitSuccessResponseBody | ||
requestBody | IRequestBody | The NotificationWait request body. |
Résultat | NotificationWaitSuccessResponseBody |
public static ReadHttpResponse ( |
||
response | The structure of the response data. | |
Résultat | byte[] |
public static SendMAPIHttpRequest ( ITestSite site, string mailStoreUrl, string userName, string domain, string password, IRequestBody requestBody, string requestType, |
||
site | ITestSite | An instance of interface ITestSite which provides logging, assertions, /// and adapters for test code onto its execution context. |
mailStoreUrl | string | Mail store url. |
userName | string | The user which connects the server. |
domain | string | The domain of the user. |
password | string | The password for the user. |
requestBody | IRequestBody | The MAPIHTTP request body. |
requestType | string | The MAPIHTTP request type. |
cookies | Cookie container for client. | |
Résultat |