UnauthorizedWebPart.UnauthorizedWebPart(String, String, String, String) Constructor
Assembly: System.Web (in system.web.dll)
public:
UnauthorizedWebPart (
String^ originalID,
String^ originalTypeName,
String^ originalPath,
String^ genericWebPartID
)
public UnauthorizedWebPart ( String originalID, String originalTypeName, String originalPath, String genericWebPartID )
public function UnauthorizedWebPart ( originalID : String, originalTypeName : String, originalPath : String, genericWebPartID : String )
Not applicable.
Parameters
- originalID
A string that contains the ID of the original server or user control that was added to a WebPartZoneBase to participate in a Web Parts application.
- originalTypeName
A string containing the name of the original control's type.
- originalPath
A string containing the relative virtual path to the user control, if the original control is a user control.
- genericWebPartID
A string containing the ID of the GenericWebPart control that wraps the original server or user control.
The UnauthorizedWebPart constructor is called when a dynamic WebPart or other server control fails its authorization check. A dynamic control is one that is added to a page programmatically, or by a user from a catalog of Web Parts controls. The UnauthorizedWebPart constructor returns a new instance of an UnauthorizedWebPart control to replace the dynamic control that failed authorization. For more information, see UnauthorizedWebPart.
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.