IsolatedStorageSecurityState IsolatedStorageSecurityState IsolatedStorageSecurityState IsolatedStorageSecurityState Class

定义

提供用于维护独立存储的配额大小的设置。Provides settings for maintaining the quota size for isolated storage.

public ref class IsolatedStorageSecurityState : System::Security::SecurityState
[System.Security.SecurityCritical]
public class IsolatedStorageSecurityState : System.Security.SecurityState
type IsolatedStorageSecurityState = class
    inherit SecurityState
Public Class IsolatedStorageSecurityState
Inherits SecurityState
继承
IsolatedStorageSecurityStateIsolatedStorageSecurityStateIsolatedStorageSecurityStateIsolatedStorageSecurityState
属性

注解

此类为主机应用程序提供了设置, 用于在主机的AppDomainManager.CheckSecuritySettings方法实现中执行策略决策。This class provides a host application with settings to perform policy decisions in the host's implementation of the AppDomainManager.CheckSecuritySettings method.

属性

Options Options Options Options

获取用于管理独立存储安全性的选项。Gets the option for managing isolated storage security.

Quota Quota Quota Quota

获取或设置独立存储的当前配额大小。Gets or sets the current size of the quota for isolated storage.

UsedSize UsedSize UsedSize UsedSize

获取独立存储中的当前使用大小。Gets the current usage size in isolated storage.

方法

EnsureState() EnsureState() EnsureState() EnsureState()

确保 IsolatedStorageSecurityState 所表示的状态在主机上可用。Ensures that the state that is represented by IsolatedStorageSecurityState is available on the host.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
IsStateAvailable() IsStateAvailable() IsStateAvailable() IsStateAvailable()

获取一个值,该值指示 SecurityState 类的此实现的状态是否在当前宿主上可用。Gets a value that indicates whether the state for this implementation of the SecurityState class is available on the current host.

(Inherited from SecurityState)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

安全性

SecurityCriticalAttribute
需要对直接调用方的完全信任。requires full trust for the immediate caller. 部分受信任的或透明的代码不能使用此成员。This member cannot be used by partially trusted or transparent code.

适用于