IExchangeClientBase

All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable

public interface IExchangeClientBase extends System.IDisposable, Closeable

Represents the interface for base Exchange clients.

Methods

MethodDescription
close()
getCredentials()Gets or sets the credentials.
getProxy()Gets or sets the proxy.
getTimeout()Gets or sets the number of milliseconds to wait before the operation times out.
setCredentials(System.Net.ICredentials value)Gets or sets the credentials.
setProxy(System.Net.WebProxy value)Gets or sets the proxy.
setTimeout(int value)Gets or sets the number of milliseconds to wait before the operation times out.

close()

public abstract void close()

getCredentials()

public abstract System.Net.ICredentials getCredentials()

Gets or sets the credentials.

Returns: com.aspose.ms.System.Net.ICredentials

getProxy()

public abstract System.Net.WebProxy getProxy()

Gets or sets the proxy.

Returns: com.aspose.ms.System.Net.WebProxy

getTimeout()

public abstract int getTimeout()

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

Returns: int

setCredentials(System.Net.ICredentials value)

public abstract void setCredentials(System.Net.ICredentials value)

Gets or sets the credentials.

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Net.ICredentials

setProxy(System.Net.WebProxy value)

public abstract void setProxy(System.Net.WebProxy value)

Gets or sets the proxy.

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Net.WebProxy

setTimeout(int value)

public abstract void setTimeout(int value)

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

Parameters:

ParameterTypeDescription
valueint