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

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

getProxy()

public abstract System.Net.WebProxy getProxy()

Gets or sets the proxy.

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

setProxy(System.Net.WebProxy value)

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

Gets or sets the proxy.

Parameters:

Parameter Type Description
value 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

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:

Parameter Type Description
value int

getCredentials()

public abstract System.Net.ICredentials getCredentials()

Gets or sets the credentials.

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

setCredentials(System.Net.ICredentials value)

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

Gets or sets the credentials.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Net.ICredentials

close()

public abstract void close()