SiteMembershipCondition Constructor (String)

 
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.

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.

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: