ExchangeWebServiceMailTransport.ServerQueryInterval Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that specifies how often to query the Exchange Web server (that is, the server that is running Microsoft Exchange Server) for new messages.

Namespace:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService
Assembly:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)

Syntax

'Declaration
Public Property ServerQueryInterval As Integer
    Get
    Set
'Usage
Dim instance As ExchangeWebServiceMailTransport
Dim value As Integer

value = instance.ServerQueryInterval

instance.ServerQueryInterval = value
public int ServerQueryInterval { get; set; }
public:
property int ServerQueryInterval {
    int get ();
    void set (int value);
}
member ServerQueryInterval : int with get, set

Property Value

Type: System.Int32
An int that represents the number of milliseconds between queries. The default value is 30,000 milliseconds.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The ServerQueryInterval property is set to a value less than 0 (zero).

Remarks

The interval returned by this property represents the number of milliseconds between the end of the previous query and the start of the next query.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

ExchangeWebServiceMailTransport Class

ExchangeWebServiceMailTransport Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService Namespace