ViewStateException.RemotePort Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the port number of the HTTP request that resulted in a view-state exception.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public string RemotePort { get; }

Property Value

Type: System.String

A String containing the remote port number.

This property returns the same value as the REMOTE_PORT variable in the ServerVariables property.

.NET Framework
Available since 2.0
Return to top
Show: