SecurityException::Url Property


Gets or sets the URL of the assembly that caused the exception.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

property String^ Url {
	[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::NoFlags | SecurityPermissionFlag::ControlEvidence | SecurityPermissionFlag::ControlPolicy)]
	String^ get();
	void set(String^ value);

Property Value

Type: System::String^

A URL that identifies the location of the assembly.


for the ability to provide evidence and view and modify policy. Associated enumerations: SecurityPermissionFlag::ControlEvidence, SecurityPermissionFlag::ControlPolicy Security action: Demand

.NET Framework
Available since 2.0
Return to top