WebPartAuthorizationEventArgs.WebPartAuthorizationEventArgs Constructor

Initializes a new instance of the WebPartAuthorizationEventArgs class.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public:
WebPartAuthorizationEventArgs (
	Type^ type, 
	String^ path, 
	String^ authorizationFilter, 
	bool isShared
)
public WebPartAuthorizationEventArgs (
	Type type, 
	String path, 
	String authorizationFilter, 
	boolean isShared
)
public function WebPartAuthorizationEventArgs (
	type : Type, 
	path : String, 
	authorizationFilter : String, 
	isShared : boolean
)
Not applicable.

Parameters

type

The Type of the control being checked for authorization.

path

The relative application path to the source file for the control being authorized, if the control is a user control.

authorizationFilter

An arbitrary string value assigned to the AuthorizationFilter property of a WebPart control, used for authorizing whether a control can be added to a page.

isShared

Indicates whether the control being checked for authorization is a shared control, meaning that it is visible to many or all users of the application, and its IsShared property value is set to true.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: