SecurityState.IsStateAvailable Metodo
Definizione
Ottiene un valore che indica se lo stato di questa implementazione della classe SecurityState è disponibile nell'host corrente.Gets a value that indicates whether the state for this implementation of the SecurityState class is available on the current host.
public:
bool IsStateAvailable();
[System.Security.SecurityCritical]
public bool IsStateAvailable ();
member this.IsStateAvailable : unit -> bool
Public Function IsStateAvailable () As Boolean
Restituisce
true
se lo stato è disponibile; in caso contrario, false
.true
if the state is available; otherwise, false
.
- Attributi
Commenti
IsStateAvailablechiama il AppDomainManager.CheckSecuritySettings metodo per determinare se lo stato rappresentato da questa classe è disponibile nell'host.IsStateAvailable calls the AppDomainManager.CheckSecuritySettings method to determine whether the state that is represented by this class is available on the host.
Vedere la SecurityState classe per un esempio CheckSecuritySettings di implementazione del metodo.See the SecurityState class for an example implementation of the CheckSecuritySettings method.
Sicurezza
SecurityCriticalAttribute
richiede l'attendibilità totale per il chiamante immediato.requires full trust for the immediate caller. Questo membro non può essere utilizzato da codice parzialmente attendibile o trasparente.This member cannot be used by partially trusted or transparent code.