Share via


WebServiceAdapter2.Timeout property

Gets or sets the time-out value in seconds for a WebServiceAdapterObject object.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Property Timeout As Integer
    Get
    Set
'Usage
Dim instance As WebServiceAdapter2
Dim value As Integer

value = instance.Timeout

instance.Timeout = value
int Timeout { get; set; }

Property value

Type: System.Int32

Remarks

The default value of the Timeout property is 30 seconds.

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See also

Reference

WebServiceAdapter2 interface

WebServiceAdapter2 members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace