Caution
Code Access Security is not supported or honored by the runtime.
Represents a collection that can contain many different types of permissions.
public ref class PermissionSet : System::Collections::ICollection, System::Runtime::Serialization::IDeserializationCallback, System::Security::ISecurityEncodable, System::Security::IStackWalk
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public class PermissionSet : System.Collections.ICollection, System.Runtime.Serialization.IDeserializationCallback, System.Security.ISecurityEncodable, System.Security.IStackWalk
public class PermissionSet : System.Collections.ICollection, System.Runtime.Serialization.IDeserializationCallback, System.Security.ISecurityEncodable, System.Security.IStackWalk
[System.Serializable]
public class PermissionSet : System.Collections.ICollection, System.Runtime.Serialization.IDeserializationCallback, System.Security.ISecurityEncodable, System.Security.IStackWalk
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class PermissionSet : System.Collections.ICollection, System.Runtime.Serialization.IDeserializationCallback, System.Security.ISecurityEncodable, System.Security.IStackWalk
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type PermissionSet = class
interface ICollection
interface IEnumerable
interface IDeserializationCallback
interface ISecurityEncodable
interface IStackWalk
type PermissionSet = class
interface ICollection
interface IEnumerable
interface IDeserializationCallback
interface ISecurityEncodable
interface IStackWalk
[<System.Serializable>]
type PermissionSet = class
interface ISecurityEncodable
interface ICollection
interface IEnumerable
interface IStackWalk
interface IDeserializationCallback
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type PermissionSet = class
interface ISecurityEncodable
interface ICollection
interface IEnumerable
interface IStackWalk
interface IDeserializationCallback
Public Class PermissionSet
Implements ICollection, IDeserializationCallback, ISecurityEncodable, IStackWalk
Caution
Code Access Security (CAS) has been deprecated across all versions of .NET Framework and .NET. Recent versions of .NET do not honor CAS annotations and produce errors if CAS-related APIs are used. Developers should seek alternative means of accomplishing security tasks.
You can use PermissionSet to perform operations on several different permissions as a group.
Constructors Properties CountGets the number of permission objects contained in the permission set.
IsReadOnlyGets a value indicating whether the collection is read-only.
IsSynchronizedGets a value indicating whether the collection is guaranteed to be thread safe.
SyncRootGets the root object of the current collection.
Methods Explicit Interface Implementations Extension MethodsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4