Export (0) Print
Expand All

Url Constructor

Initializes a new instance of the Url class with the URL from which a code assembly originates.

[Visual Basic]
Public Sub New( _
   ByVal name As String _
)
[C#]
public Url(
   string name
);
[C++]
public: Url(
   String* name
);
[JScript]
public function Url(
   name : String
);

Parameters

name
The URL of origin for the associated code assembly.

Exceptions

Exception Type Condition
ArgumentNullException The name parameter is a null reference (Nothing in Visual Basic).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Url Class | Url Members | System.Security.Policy Namespace

Show:
© 2014 Microsoft