public class SyncFolderHierarchyRequest extends MultiResponseServiceRequest<SyncFolderHierarchyResponse>
Constructor and Description |
---|
SyncFolderHierarchyRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected SyncFolderHierarchyResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
PropertySet |
getPropertySet()
Gets or sets the property set.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
FolderId |
getSyncFolderId()
Gets or sets the property set.
|
String |
getSyncState()
Gets or sets the state of the sync.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setPropertySet(PropertySet value)
Sets the property set.
|
void |
setSyncFolderId(FolderId value)
Sets the sync folder id.
|
void |
setSyncState(String value)
Sets the sync state.
|
protected void |
validate()
Validates request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public SyncFolderHierarchyRequest(ExchangeService service) throws Exception
service
- the serviceException
protected SyncFolderHierarchyResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<SyncFolderHierarchyResponse>
service
- the serviceresponseIndex
- the response indexprotected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<SyncFolderHierarchyResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderHierarchyResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderHierarchyResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<SyncFolderHierarchyResponse>
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderHierarchyResponse>>
Exception
- the exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderHierarchyResponse>>
writer
- the writerException
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderHierarchyResponse>>
public PropertySet getPropertySet()
public void setPropertySet(PropertySet value)
value
- the new property setpublic FolderId getSyncFolderId()
public void setSyncFolderId(FolderId value)
value
- the new sync folder idpublic String getSyncState()
public void setSyncState(String value)
value
- the new sync stateCopyright © 2012–2015 Microsoft. All rights reserved.