C# 클래스 Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.RopBufferHelper

The class provides methods to build the request payload and parse the response payload.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
BuildRequestBuffer ( ISerializable requestROP, uint insideObjectHandle ) : byte[]

The method creates single ROP request buffer.

BuildRequestBuffer ( List requestROPs, List requestSOHTable ) : byte[]

The method creates ROPs request buffer.

BuildRequestBufferWithoutRop ( ) : byte[]

The method creates a request without ROPs.

ParseResponseBuffer ( byte rgbOut, RPC_HEADER_EXT &rpcHeaderExts, byte &rops, uint &serverHandleObjectsTables ) : void

The method parses response buffer.

RopBufferHelper ( ITestSite testSite ) : System

Initializes a new instance of the RopBufferHelper class.

메소드 상세

BuildRequestBuffer() 공개 메소드

The method creates single ROP request buffer.
public BuildRequestBuffer ( ISerializable requestROP, uint insideObjectHandle ) : byte[]
requestROP ISerializable ROP request object.
insideObjectHandle uint Server object handle in request.
리턴 byte[]

BuildRequestBuffer() 공개 메소드

The method creates ROPs request buffer.
public BuildRequestBuffer ( List requestROPs, List requestSOHTable ) : byte[]
requestROPs List ROPs in request.
requestSOHTable List Server object handles table.
리턴 byte[]

BuildRequestBufferWithoutRop() 공개 메소드

The method creates a request without ROPs.
public BuildRequestBufferWithoutRop ( ) : byte[]
리턴 byte[]

ParseResponseBuffer() 공개 메소드

The method parses response buffer.
public ParseResponseBuffer ( byte rgbOut, RPC_HEADER_EXT &rpcHeaderExts, byte &rops, uint &serverHandleObjectsTables ) : void
rgbOut byte The ROP response payload.
rpcHeaderExts Microsoft.Protocols.TestSuites.Common.RPC_HEADER_EXT RPC header ext.
rops byte ROPs in response.
serverHandleObjectsTables uint Server handle objects tables
리턴 void

RopBufferHelper() 공개 메소드

Initializes a new instance of the RopBufferHelper class.
public RopBufferHelper ( ITestSite testSite ) : System
testSite ITestSite The instance of ITestSite.
리턴 System