Share via


HostProtectionException.ProtectedResources プロパティ

定義

部分的に信頼されたコードにアクセスできないホスト保護リソースを取得または設定します。

public:
 property System::Security::Permissions::HostProtectionResource ProtectedResources { System::Security::Permissions::HostProtectionResource get(); };
public System.Security.Permissions.HostProtectionResource ProtectedResources { get; }
member this.ProtectedResources : System.Security.Permissions.HostProtectionResource
Public ReadOnly Property ProtectedResources As HostProtectionResource

プロパティ値

アクセスできないホスト保護のカテゴリを示す HostProtectionResource 値のビットごとの組み合わせ。 既定値は、None です。

注釈

このプロパティは、ホストが完全に信頼されていないコードにアクセスできないように指定したホスト保護カテゴリを識別します。

適用対象