ApplicationAccessControlAttribute Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de ApplicationAccessControlAttribute klasse.
Overloads
| Name | Description |
|---|---|
| ApplicationAccessControlAttribute() |
Initialiseert een nieuw exemplaar van de ApplicationAccessControlAttribute klasse, waardoor de COM+-beveiligingsconfiguratie wordt ingeschakeld. |
| ApplicationAccessControlAttribute(Boolean) |
Initialiseert een nieuw exemplaar van de ApplicationAccessControlAttribute klasse en stelt de Value eigenschap in die aangeeft of com-beveiligingsconfiguratie moet worden ingeschakeld. |
ApplicationAccessControlAttribute()
Initialiseert een nieuw exemplaar van de ApplicationAccessControlAttribute klasse, waardoor de COM+-beveiligingsconfiguratie wordt ingeschakeld.
public:
ApplicationAccessControlAttribute();
public ApplicationAccessControlAttribute();
Public Sub New ()
Voorbeelden
In het volgende codevoorbeeld ziet u hoe dit kenmerk wordt gebruikt om de toegang tot een assembly met ServicedComponent klassen te beheren.
// Set component access controls.
[assembly:ApplicationAccessControl(Authentication=AuthenticationOption::Privacy,
ImpersonationLevel=ImpersonationLevelOption::Identify,
AccessChecksLevel=AccessChecksLevelOption::ApplicationComponent)];
// Set component access controls.
[assembly: ApplicationAccessControl(Authentication=AuthenticationOption.Privacy,
ImpersonationLevel=ImpersonationLevelOption.Identify,
AccessChecksLevel=AccessChecksLevelOption.ApplicationComponent)]
' Set component access controls.
<Assembly: ApplicationAccessControl(Authentication:=AuthenticationOption.Privacy, ImpersonationLevel:=ImpersonationLevelOption.Identify, AccessChecksLevel:=AccessChecksLevelOption.ApplicationComponent)>
Van toepassing op
ApplicationAccessControlAttribute(Boolean)
Initialiseert een nieuw exemplaar van de ApplicationAccessControlAttribute klasse en stelt de Value eigenschap in die aangeeft of com-beveiligingsconfiguratie moet worden ingeschakeld.
public:
ApplicationAccessControlAttribute(bool val);
public ApplicationAccessControlAttribute(bool val);
new System.EnterpriseServices.ApplicationAccessControlAttribute : bool -> System.EnterpriseServices.ApplicationAccessControlAttribute
Public Sub New (val As Boolean)
Parameters
- val
- Boolean
true om de configuratie van beveiliging toe te staan; anders, false.