StopRequestIfClientIsNotValid method
TOC
Collapse the table of content
Expand the table of content

SPUtility.StopRequestIfClientIsNotValid method

Stops processing the current request if the request is no longer valid.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static void StopRequestIfClientIsNotValid(
	Page page
)

Parameters

page
Type: System.Web.UI.Page

A Page object that specifies the Web page.

ExceptionCondition
ArgumentNullException

Page object is a null reference (Nothing in Visual Basic).

The request becomes invalid when the client is no longer connected to the server. This can occur, for example, if the client stopped running the Web page or browsed to another page.

Show:
© 2016 Microsoft