C# Class Microsoft.Protocols.TestSuites.SharedAdapter.MS_FSSHTTP_FSSHTTPBAdapter

Class MS_FSSHTTP_FSSHTTPB_Adapter implement interface IFSSHTTPFSSHTTPB
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_FSSHTTP_FSSHTTPBAdapter
Exibir arquivo Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
CellStorageRequest ( string url, SubRequestType subRequests, string requestToken = "1", ushort version = 2, ushort minorVersion = 2, uint interval = null, int metaData = null ) : CellStorageResponse

This method is used to send the cell storage request to the server.

Reset ( ) : void

Override the Reset function.

Private Methods

Method Description
CloseProxy ( ) : void

Close and dispose the proxy.

GetCellStorageResponseObject ( Message responseMsg ) : CellStorageResponse

Used to parse the response message and retrieve the CellStorageResponse object

MS_FSSHTTP_FSSHTTPBAdapter ( ) : System

Initializes static members of the MS_FSSHTTP_FSSHTTPBAdapter class.

ValidateGenericType ( CellStorageResponse cellStorageResponseObjects, string requestToken ) : void

Validate the generic response type from the server.

ValidateSpecificType ( CellStorageResponse cellStorageResponseObjects ) : void

Validate the specific response type from the server.

Method Details

CellStorageRequest() public method

This method is used to send the cell storage request to the server.
public CellStorageRequest ( string url, SubRequestType subRequests, string requestToken = "1", ushort version = 2, ushort minorVersion = 2, uint interval = null, int metaData = null ) : CellStorageResponse
url string Specifies the URL of the file to edit.
subRequests Microsoft.Protocols.TestSuites.Common.SubRequestType Specifies the sub request array.
requestToken string Specifies a non-negative request token integer that uniquely identifies the Request .
version ushort Specifies the version number of the request, whose value should only be 2.
minorVersion ushort Specifies the minor version number of the request, whose value should only be 0 or 2.
interval uint Specifies a nonnegative integer in seconds, which the protocol client will repeat this request, the default value is null.
metaData int Specifies a 32-bit value that specifies information about the scenario and urgency of the request, the default value is null.
return Microsoft.Protocols.TestSuites.Common.CellStorageResponse

Reset() public method

Override the Reset function.
public Reset ( ) : void
return void