This documentation is archived and is not being maintained.
WebPartAuthorizationEventArgs Constructor
Visual Studio 2010
Initializes a new instance of the WebPartAuthorizationEventArgs class.
Assembly: System.Web (in System.Web.dll)
public: WebPartAuthorizationEventArgs( Type^ type, String^ path, String^ authorizationFilter, bool isShared )
Parameters
- type
- Type: System::Type
The Type of the control being checked for authorization.
- path
- Type: System::String
The relative application path to the source file for the control being authorized, if the control is a user control.
- authorizationFilter
- Type: System::String
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
- Type: System::Boolean
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: