DelegatingConfigHost.GetRestrictedPermissions Method

Definition

Caution

Code Access Security is not supported or honored by the runtime.

Sets the specified permission set if available within the host object.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public virtual void GetRestrictedPermissions(System.Configuration.Internal.IInternalConfigRecord configRecord, out System.Security.PermissionSet permissionSet, out bool isHostReady);
C#
public virtual void GetRestrictedPermissions(System.Configuration.Internal.IInternalConfigRecord configRecord, out System.Security.PermissionSet permissionSet, out bool isHostReady);

Parameters

permissionSet
PermissionSet

A PermissionSet object.

isHostReady
Boolean

true if the host has finished initialization; otherwise, false.

Implements

Attributes

Applies to

Product Versions (Obsolete)
.NET (8 (package-provided), 9 (package-provided), 10 (package-provided))
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7 (8, 9, 10)