Export (0) Print
Expand All
Expand Minimize

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)
Available in Sandboxed Solutions: No

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
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:
© 2014 Microsoft