Compartir a través de


NetworkState Class

Provides information about the connection state of the client computer and whether a connection can be made to a specified network location.

Inheritance Hierarchy

System.Object
  Microsoft.Office.InfoPath.NetworkState

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

Syntax

'Declaration
Public MustInherit Class NetworkState
'Usage
Dim instance As NetworkState
public abstract class NetworkState

Remarks

Note

The NetworkState class and its members are intended to be used in code that works with the FormControl, which is a managed control that is used to integrate the InfoPath form editor into a .NET-based custom application. To use the same functionality from an InfoPath form template, use the IsDestinationReachable(String) method and MachineOnlineState property of the Application class.

To access the NetworkState object associated with the current form, use the NetworkState property of the XmlForm class. To access the XmlForm class from the object model provided by the FormControl, use the XmlForm property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

NetworkState Members

Microsoft.Office.InfoPath Namespace