DelegatingConfigHost.GetRestrictedPermissions Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Achtung
Code Access Security is not supported or honored by the runtime.
Legt den angegebenen Berechtigungssatz fest, wenn er innerhalb des Hostobjekts verfügbar ist.
Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.
public:
virtual 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 virtual void GetRestrictedPermissions(System.Configuration.Internal.IInternalConfigRecord configRecord, out System.Security.PermissionSet permissionSet, out bool isHostReady);
public virtual 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
override this.GetRestrictedPermissions : System.Configuration.Internal.IInternalConfigRecord * PermissionSet * bool -> unit
abstract member GetRestrictedPermissions : System.Configuration.Internal.IInternalConfigRecord * PermissionSet * bool -> unit
override this.GetRestrictedPermissions : System.Configuration.Internal.IInternalConfigRecord * PermissionSet * bool -> unit
Public Overridable Sub GetRestrictedPermissions (configRecord As IInternalConfigRecord, ByRef permissionSet As PermissionSet, ByRef isHostReady As Boolean)
Parameter
- configRecord
- IInternalConfigRecord
Ein IInternalConfigRecord-Objekt.
- permissionSet
- PermissionSet
Ein PermissionSet-Objekt.
- isHostReady
- Boolean
truewenn der Host die Initialisierung abgeschlossen hat; andernfalls . false
Implementiert
- Attribute