Taal

IInternalConfigHost.GetRestrictedPermissions Methode

Definitie

Let op

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

Hiermee koppelt u de configuratie aan een PermissionSet object.

public:
 void GetRestrictedPermissions(System::Configuration::Internal::IInternalConfigRecord ^ configRecord, [Runtime::InteropServices::Out] System::Security::PermissionSet ^ % permissionSet, [Runtime::InteropServices::Out] bool % isHostReady);
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public void GetRestrictedPermissions(System.Configuration.Internal.IInternalConfigRecord configRecord, out System.Security.PermissionSet permissionSet, out bool isHostReady);
public void GetRestrictedPermissions(System.Configuration.Internal.IInternalConfigRecord configRecord, out System.Security.PermissionSet permissionSet, out bool isHostReady);
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member GetRestrictedPermissions : System.Configuration.Internal.IInternalConfigRecord * PermissionSet * bool -> unit
abstract member GetRestrictedPermissions : System.Configuration.Internal.IInternalConfigRecord * PermissionSet * bool -> unit
Public Sub GetRestrictedPermissions (configRecord As IInternalConfigRecord, ByRef permissionSet As PermissionSet, ByRef isHostReady As Boolean)

Parameters

configRecord
IInternalConfigRecord

Een IInternalConfigRecord object.

permissionSet
PermissionSet

Het PermissionSet object dat moet worden gekoppeld aan de configuratie.

isHostReady
Boolean

true om aan te geven dat de configuratiehost is voltooid met het bouwen van de bijbehorende machtigingen; anders, false.

Kenmerken

Van toepassing op