Export (0) Print
Expand All

UrlMembershipCondition Class

Determines whether an assembly belongs to a code group by testing its URL. This class cannot be inherited.

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

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class UrlMembershipCondition
	Implements IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable
'Usage
Dim instance As UrlMembershipCondition

/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class UrlMembershipCondition implements IMembershipCondition, ISecurityEncodable, 
	ISecurityPolicyEncodable
SerializableAttribute 
ComVisibleAttribute(true) 
public final class UrlMembershipCondition implements IMembershipCondition, ISecurityEncodable, 
	ISecurityPolicyEncodable
Not applicable.

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.

System.Object
  System.Security.Policy.UrlMembershipCondition

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft