다음을 통해 공유


DelegatingConfigHost.GetRestrictedPermissions 메서드

정의

주의

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

호스트 개체에서 사용할 수 있는 경우 지정된 권한 집합을 설정합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public:
 virtual void GetRestrictedPermissions(System::Configuration::Internal::IInternalConfigRecord ^ configRecord, [Runtime::InteropServices::Out] System::Security::PermissionSet ^ % permissionSet, [Runtime::InteropServices::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}")]
public virtual void GetRestrictedPermissions (System.Configuration.Internal.IInternalConfigRecord configRecord, out System.Security.PermissionSet permissionSet, out bool isHostReady);
abstract member GetRestrictedPermissions : System.Configuration.Internal.IInternalConfigRecord * PermissionSet * bool -> unit
override this.GetRestrictedPermissions : System.Configuration.Internal.IInternalConfigRecord * PermissionSet * bool -> unit
[<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
Public Overridable Sub GetRestrictedPermissions (configRecord As IInternalConfigRecord, ByRef permissionSet As PermissionSet, ByRef isHostReady As Boolean)

매개 변수

configRecord
IInternalConfigRecord

IInternalConfigRecord 개체입니다.

permissionSet
PermissionSet

PermissionSet 개체입니다.

isHostReady
Boolean

호스트에서 초기화를 마쳤으면 true이고, 그렇지 않으면 false입니다.

구현

특성

적용 대상