Rediger

Del via


SiteMembershipCondition(String) Constructor

Definition

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

public:
 SiteMembershipCondition(System::String ^ site);
public SiteMembershipCondition (string site);
new System.Security.Policy.SiteMembershipCondition : string -> System.Security.Policy.SiteMembershipCondition
Public Sub New (site As String)

Parameters

site
String

The site name or wildcard expression.

Exceptions

The site parameter is null.

The site parameter is not a valid Site.

Remarks

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

Applies to