Export (0) Print
Expand All

SiteMembershipCondition Constructor

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)

public SiteMembershipCondition(
	string site
)

Parameters

site
Type: System.String

The site name or wildcard expression.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft