C# 클래스 Microsoft.Protocols.TestSuites.MS_OXORULE.MS_OXWOOFSUTControlAdapter

The implementation of the SUT Control Adapter interface which is used by test cases in the test suite to set or clear Out of Office state by calling Exchange OOF Web Service.
상속: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWOOFSUTControlAdapter
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

공개 메소드들

메소드 설명
SetUserOOFSettings ( string mailAddress, string password, bool isOOF ) : bool

Set user mailbox Out of Office state.

비공개 메소드들

메소드 설명
AcceptServerCertificate ( ) : void

If the SOAP over HTTPS is used as transport, the adapter uses this function to avoid closing base connection. Local client will accept any valid server certificate after executing this function.

ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, System sslPolicyErrors ) : bool

Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication. In adapter, this method always return true, make client can communicate with server under HTTPS without a certification.

메소드 상세

SetUserOOFSettings() 공개 메소드

Set user mailbox Out of Office state.
public SetUserOOFSettings ( string mailAddress, string password, bool isOOF ) : bool
mailAddress string User's email address.
password string Password of user mailbox.
isOOF bool If true, set OOF state, else make sure OOF state is not set (clear OOF state).
리턴 bool