SiteMembershipCondition(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.