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.

For a list of all members of this type, see UrlMembershipCondition Members.

System.Object
   System.Security.Policy.UrlMembershipCondition

[Visual Basic]
<Serializable>
NotInheritable Public Class UrlMembershipCondition
   Implements IMembershipCondition, ISecurityEncodable, _
   ISecurityPolicyEncodable
[C#]
[Serializable]
public sealed class UrlMembershipCondition : IMembershipCondition,
   ISecurityEncodable, ISecurityPolicyEncodable
[C++]
[Serializable]
public __gc __sealed class UrlMembershipCondition : public
   IMembershipCondition, ISecurityEncodable,
   ISecurityPolicyEncodable
[JScript]
public
   Serializable
class UrlMembershipCondition implements
   IMembershipCondition, ISecurityEncodable,
   ISecurityPolicyEncodable

Thread Safety

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

Remarks

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.

Requirements

Namespace: System.Security.Policy

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

Assembly: Mscorlib (in Mscorlib.dll)

See Also

UrlMembershipCondition Members | System.Security.Policy Namespace

Show:
© 2014 Microsoft