Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApplicationAccessControlAttribute Constructor ()

 

Initializes a new instance of the ApplicationAccessControlAttribute class, enabling the COM+ security configuration.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public:
ApplicationAccessControlAttribute()

The following code example demonstrates the use of this attribute to control access to an assembly containing ServicedComponent classes.

// Set component access controls.
[assembly:ApplicationAccessControl(Authentication=AuthenticationOption::Privacy,
ImpersonationLevel=ImpersonationLevelOption::Identify,
AccessChecksLevel=AccessChecksLevelOption::ApplicationComponent)];

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft