C# 클래스 Microsoft.Protocols.TestSuites.MS_OXWSATT.MS_OXWSATTAdapter

The class provides methods to verify data/operation format in MS-OXWSATT.
상속: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSATTAdapter
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

공개 메소드들

메소드 설명
ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void

Configure the SOAP header before calling operations.

CreateAttachment ( CreateAttachmentType createAttachmentRequest ) : CreateAttachmentResponseType

Creates an item or file attachment on an item in the server store.

DeleteAttachment ( DeleteAttachmentType deleteAttachmentRequest ) : DeleteAttachmentResponseType

Deletes an attachment from an item in the server store.

GetAttachment ( GetAttachmentType getAttachmentRequest ) : GetAttachmentResponseType

Gets an attachment from an item in the server store.

Initialize ( TestTools testSite ) : void

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.

비공개 메소드들

메소드 설명
VerifyCreateAttachmentResponse ( CreateAttachmentResponseType createAttachmentResponse, bool isSchemaValidated ) : void

The capture code for requirements of CreateAttachment operation.

VerifyDeleteAttachmentResponse ( DeleteAttachmentResponseType deleteAttachmentResponse, bool isSchemaValidated ) : void

The capture code for requirements of DeleteAttachment operation.

VerifyDeleteAttachmentResponseMessageType ( DeleteAttachmentResponseMessageType deleteAttachmentResponseMessage, bool isSchemaValidated ) : void

Captures DeleteAttachmentResponseMessageType related requirements.

VerifyGetAttachmentResponse ( GetAttachmentResponseType getAttachmentResponse, bool isSchemaValidated ) : void

The capture code for requirements of GetAttachment operation.

VerifyServerVersionInfo ( bool isSchemaValidated ) : void

Verify the ServerVersionInfo structure.

VerifySoapVersion ( ) : void

Verify the SOAP version.

VerifyTransportType ( ) : void

Verify the transport related requirements.

verifyReferenceAttachmentType ( bool isSchemaValidated, ReferenceAttachmentType referenceAttachment ) : void

Verify the ReferenceAttachmentType related requirements.

메소드 상세

ConfigureSOAPHeader() 공개 메소드

Configure the SOAP header before calling operations.
public ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void
headerValues object>.Dictionary Specify the values for SOAP header.
리턴 void

CreateAttachment() 공개 메소드

Creates an item or file attachment on an item in the server store.
public CreateAttachment ( CreateAttachmentType createAttachmentRequest ) : CreateAttachmentResponseType
createAttachmentRequest Microsoft.Protocols.TestSuites.Common.CreateAttachmentType A CreateAttachmentType complex type specifies a request message to attach an item or file to a specified item in the server database.
리턴 CreateAttachmentResponseType

DeleteAttachment() 공개 메소드

Deletes an attachment from an item in the server store.
public DeleteAttachment ( DeleteAttachmentType deleteAttachmentRequest ) : DeleteAttachmentResponseType
deleteAttachmentRequest Microsoft.Protocols.TestSuites.Common.DeleteAttachmentType A DeleteAttachmentType complex type specifies a request message to delete an attachment on an item in the server database.
리턴 DeleteAttachmentResponseType

GetAttachment() 공개 메소드

Gets an attachment from an item in the server store.
public GetAttachment ( GetAttachmentType getAttachmentRequest ) : GetAttachmentResponseType
getAttachmentRequest Microsoft.Protocols.TestSuites.Common.GetAttachmentType A GetAttachmentType complex type specifies a request message to get attached items and files on an item in the server database.
리턴 GetAttachmentResponseType

Initialize() 공개 메소드

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
public Initialize ( TestTools testSite ) : void
testSite TestTools Pass ITestSite to adapter, make adapter can use ITestSite's function
리턴 void