UrlMembershipCondition.Url Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the URL for which the membership condition tests.

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

member Url : string with get, set

Property Value

Type: System.String

The URL for which the membership condition tests.

Exception Condition
ArgumentNullException

An attempt is made to set Url to null.

ArgumentException

Value is not an absolute URL.

The complete URL is considered, including the protocol (HTTP, HTTPS, FTP) and the file. For example, http://www.fourthcoffee.com/process/grind.htm is a complete URL.

URLs can be matched exactly or by a wildcard in the final position. For example, http://www.fourthcoffee.com/process/* is a wildcard URL.

.NET Framework
Available since 1.1
Return to top
Show: