Method | Description | |
---|---|---|
ConvertInstanceIdFormat ( string time ) : string |
Try to parse the no separator time string to DateTime
|
|
ConvertSyncResponseFromSendString ( ActiveSyncResponseBase |
Convert the instance of SendStringResponse to SyncResponse.
|
|
CreateCalendarContent ( string fromAddress, string toAddress, string meetingRequestSubject, string occurrences ) : string |
Get the calendar content string.
|
|
GetPolicyKeyFromSendString ( ActiveSyncResponseBase |
Get policy key from Provision string response.
|
|
GetServerIdFromSyncResponse ( |
Get ServerId from Sync response.
|
|
GetStatusCodeFromException ( |
Get status code from web exception which will be returned by IIS.
|
|
GetSyncRequest ( string collectionId, string syncKey ) : SyncRequest |
Get the request of Sync command.
|
|
IsRetryNeeded ( string shouldBeGotten ) : bool |
Get whether retry is needed when get ServerId.
|
|
LoadAddCommands ( |
Load add commands in sync response.
|
|
LoadSyncResponse ( ActiveSyncResponseBase |
Load sync response to sync store.
|
|
VerifySyncRequiredResponseHeaders ( string headers ) : bool |
Verify whether X-MS-RP, MS-ASProtocolCommands and MS-ASProtocolVersions headers all exist in response headers.
|
public static ConvertInstanceIdFormat ( string time ) : string | ||
time | string | The specified DateTime string |
return | string |
public static ConvertSyncResponseFromSendString ( ActiveSyncResponseBase | ||
syncResponseString | ActiveSyncResponseBase | The SendStringResponse instance to convert. |
return | SyncResponse |
public static CreateCalendarContent ( string fromAddress, string toAddress, string meetingRequestSubject, string occurrences ) : string | ||
fromAddress | string | The email address of the meeting request sender. |
toAddress | string | The email address of the meeting request receiver. |
meetingRequestSubject | string | The subject of the meeting request. |
occurrences | string | The number of occurrences of the meeting request. |
return | string |
public static GetPolicyKeyFromSendString ( ActiveSyncResponseBase | ||
provisionResponseString | ActiveSyncResponseBase | The SendStringResponse instance of Provision command. |
return | string |
public static GetServerIdFromSyncResponse ( |
||
syncResponse | The response of Sync command. | |
subject | string | The subject of the email to get. |
return | string |
public static GetStatusCodeFromException ( |
||
webException | Web exception | |
return | string |
public static GetSyncRequest ( string collectionId, string syncKey ) : SyncRequest | ||
collectionId | string | The CollectionId of the folder to sync. |
syncKey | string | The SyncKey of the latest sync. |
return | SyncRequest |
public static IsRetryNeeded ( string shouldBeGotten ) : bool | ||
shouldBeGotten | string | Whether the item should be gotten. |
return | bool |
public static LoadAddCommands ( |
||
collectionCommands | The add commands response. | |
return | Collection |
public static LoadSyncResponse ( ActiveSyncResponseBase |
||
response | ActiveSyncResponseBase |
The response of Sync command. |
return |
public static VerifySyncRequiredResponseHeaders ( string headers ) : bool | ||
headers | string | The headers returned from response. |
return | bool |