SiteMembershipCondition Constructor (String)

 

Initializes a new instance of the SiteMembershipCondition class with name of the site that determines membership.

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

new : 
        site:string -> SiteMembershipCondition

Parameters

site
Type: System.String

The site name or wildcard expression.

Exception Condition
ArgumentNullException

The site parameter is null.

ArgumentException

The site parameter is not a valid Site.

Code satisfies this membership condition if it is downloaded from a site whose DNS name matches the site specified by Site.

.NET Framework
Available since 1.1
Return to top
Show: