Edit

Share via


ViewStateException.Message Property

Definition

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

public:
 virtual property System::String ^ Message { System::String ^ get(); };
public override string Message { get; }
member this.Message : string
Public Overrides ReadOnly Property Message As String

Property Value

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

Remarks

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.

Applies to