Aspose::Email::Clients::Exchange::ExchangeClientBase Class Reference

Provides the abstract base class to MS Exchange Server access. More...

Inherits Aspose::Email::Clients::Exchange::IExchangeClientBase.

Inherited by Aspose::Email::Clients::Exchange::Dav::ExchangeClient, and Aspose::Email::Clients::Exchange::WebService::EWSClient.

Public Member Functions

System::SharedPtr< System::Net::IWebProxy > get_Proxy () override
 Gets the proxy. More...
 
void set_Proxy (System::SharedPtr< System::Net::IWebProxy > value) override
 Sets the proxy. More...
 
System::SharedPtr< System::Net::ICredentials > get_Credentials () override
 Gets the credentials More...
 
void set_Credentials (System::SharedPtr< System::Net::ICredentials > value) override
 Sets the credentials More...
 
System::String get_MailboxUri () override
 Gets the mailbox uri More...
 
void set_MailboxUri (System::String value) override
 Sets the mailbox uri More...
 
int32_t get_Timeout () override
 Gets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds). More...
 
void set_Timeout (int32_t value) override
 Sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds). More...
 
System::String get_LogFileName () override
 Gets log file name More...
 
void set_LogFileName (System::String value) override
 Sets log file name More...
 
bool get_UseDateInLogFileName () override
 Gets value which indicates if date has to be used in log file name. More...
 
void set_UseDateInLogFileName (bool value) override
 Sets value which indicates if date has to be used in log file name. More...
 
System::SharedPtr< Aspose::Email::Tools::Logging::Loggerget_Logger ()
 Diagnostic logger More...
 
 ExchangeClientBase (System::String mailboxUri, System::SharedPtr< System::Net::ICredentials > credentials, System::SharedPtr< System::Net::IWebProxy > proxy, System::SharedPtr< ExchangeLogger > exchangeLogger=nullptr)
 Initializes a new instance of the ExchangeClientBase class More...
 
void Dispose () override
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Public Attributes

System::SharedPtr< System::Object > lockObject
 

Protected Member Functions

void ResetLogSettings ()
 Resets logging settings to default. More...
 
virtual void Dispose (bool disposing)
 Releases unmanaged and - optionally - managed resources More...
 

Friends

class Aspose::Email::Clients::Exchange::Dav::ExchangeClient
 
class Aspose::Email::Clients::Exchange::WebService::EWSClient
 

Detailed Description

Provides the abstract base class to MS Exchange Server access.

Constructor & Destructor Documentation

◆ ExchangeClientBase()

Aspose::Email::Clients::Exchange::ExchangeClientBase::ExchangeClientBase ( System::String  mailboxUri,
System::SharedPtr< System::Net::ICredentials >  credentials,
System::SharedPtr< System::Net::IWebProxy >  proxy,
System::SharedPtr< ExchangeLogger >  exchangeLogger = nullptr 
)

Initializes a new instance of the ExchangeClientBase class

Parameters
mailboxUriThe URI of mailbox
credentialsContains the credentials for authentication.
proxyContains HTTP proxy settings
exchangeLoggerDiagnostic logger

Member Function Documentation

◆ Dispose() [1/2]

void Aspose::Email::Clients::Exchange::ExchangeClientBase::Dispose ( )
override

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

◆ Dispose() [2/2]

virtual void Aspose::Email::Clients::Exchange::ExchangeClientBase::Dispose ( bool  disposing)
protectedvirtual

Releases unmanaged and - optionally - managed resources

Parameters
disposingtrue to release both managed and unmanaged resources; false to release only unmanaged resources.

◆ get_Credentials()

System::SharedPtr<System::Net::ICredentials> Aspose::Email::Clients::Exchange::ExchangeClientBase::get_Credentials ( )
overridevirtual

Gets the credentials

ICredentials

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

◆ get_LogFileName()

System::String Aspose::Email::Clients::Exchange::ExchangeClientBase::get_LogFileName ( )
overridevirtual

◆ get_Logger()

System::SharedPtr<Aspose::Email::Tools::Logging::Logger> Aspose::Email::Clients::Exchange::ExchangeClientBase::get_Logger ( )

Diagnostic logger

◆ get_MailboxUri()

System::String Aspose::Email::Clients::Exchange::ExchangeClientBase::get_MailboxUri ( )
overridevirtual

Gets the mailbox uri

Uri of the mailbox

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

◆ get_Proxy()

System::SharedPtr<System::Net::IWebProxy> Aspose::Email::Clients::Exchange::ExchangeClientBase::get_Proxy ( )
overridevirtual

◆ get_Timeout()

int32_t Aspose::Email::Clients::Exchange::ExchangeClientBase::get_Timeout ( )
overridevirtual

Gets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).

Timeout in milliseconds

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

◆ get_UseDateInLogFileName()

bool Aspose::Email::Clients::Exchange::ExchangeClientBase::get_UseDateInLogFileName ( )
overridevirtual

Gets value which indicates if date has to be used in log file name.

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

◆ ResetLogSettings()

void Aspose::Email::Clients::Exchange::ExchangeClientBase::ResetLogSettings ( )
protected

Resets logging settings to default.

◆ set_Credentials()

void Aspose::Email::Clients::Exchange::ExchangeClientBase::set_Credentials ( System::SharedPtr< System::Net::ICredentials >  value)
overridevirtual

Sets the credentials

ICredentials

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

◆ set_LogFileName()

void Aspose::Email::Clients::Exchange::ExchangeClientBase::set_LogFileName ( System::String  value)
overridevirtual

◆ set_MailboxUri()

void Aspose::Email::Clients::Exchange::ExchangeClientBase::set_MailboxUri ( System::String  value)
overridevirtual

Sets the mailbox uri

Uri of the mailbox

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

◆ set_Proxy()

void Aspose::Email::Clients::Exchange::ExchangeClientBase::set_Proxy ( System::SharedPtr< System::Net::IWebProxy >  value)
overridevirtual

◆ set_Timeout()

void Aspose::Email::Clients::Exchange::ExchangeClientBase::set_Timeout ( int32_t  value)
overridevirtual

Sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).

Timeout in milliseconds

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

◆ set_UseDateInLogFileName()

void Aspose::Email::Clients::Exchange::ExchangeClientBase::set_UseDateInLogFileName ( bool  value)
overridevirtual

Sets value which indicates if date has to be used in log file name.

Implements Aspose::Email::Clients::Exchange::IExchangeClientBase.

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::Dav::ExchangeClient

◆ Aspose::Email::Clients::Exchange::WebService::EWSClient

Member Data Documentation

◆ lockObject

System::SharedPtr<System::Object> Aspose::Email::Clients::Exchange::ExchangeClientBase::lockObject