ViewStateException.Message Property

 

Gets debugging information about the HTTP request that resulted in a view-state exception.

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

public override string Message { get; }

Property Value

Type: System.String

A String containing the formatted message with information about the exception.

If the request does not have permission to access the server variables, then this property returns a generic view-state error message. If the request does have permission to access server variables, the Message property contains the values returned from the RemoteAddress, RemotePort, UserAgent, PersistedState, Referer, and Path properties.

.NET Framework
Available since 2.0
Return to top
Show: