Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
[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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.