Click or drag to resize

SecuritySessionException Class

Represents a session exception
Inheritance Hierarchy

Namespace:  SanteDB.Core.Security
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public class SecuritySessionException : SecurityException

The SecuritySessionException type exposes the following members.

Constructors
  NameDescription
Public methodSecuritySessionException(SessionExceptionType, String, Exception)
Creates a new security session exception
Public methodSecuritySessionException(SessionExceptionType, ISession, String, Exception)
Creates a new security session exception
Top
Properties
  NameDescription
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyDemanded
Gets or sets the demanded security permission, permission set, or permission set collection that failed.
(Inherited from SecurityException.)
Public propertyDenySetInstance
Gets or sets the denied security permission, permission set, or permission set collection that caused a demand to fail.
(Inherited from SecurityException.)
Public propertyFailedAssemblyInfo
Gets or sets information about the failed assembly.
(Inherited from SecurityException.)
Public propertyGrantedSet
Gets or sets the granted permission set of the assembly that caused the SecurityException.
(Inherited from SecurityException.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public propertyHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertyMethod
Gets or sets the information about the method associated with the exception.
(Inherited from SecurityException.)
Public propertyPermissionState
Gets or sets the state of the permission that threw the exception.
(Inherited from SecurityException.)
Public propertyPermissionType
Gets or sets the type of the permission that failed.
(Inherited from SecurityException.)
Public propertyPermitOnlySetInstance
Gets or sets the permission, permission set, or permission set collection that is part of the permit-only stack frame that caused a security check to fail.
(Inherited from SecurityException.)
Public propertyRefusedSet
Gets or sets the refused permission set of the assembly that caused the SecurityException.
(Inherited from SecurityException.)
Public propertySession
Gets the impact session
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Public propertyType
Gets the type of exception
Public propertyUrl
Gets or sets the URL of the assembly that caused the exception.
(Inherited from SecurityException.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Sets the SerializationInfo with information about the SecurityException.
(Inherited from SecurityException.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a representation of the current SecurityException.
(Inherited from SecurityException.)
Top
Events
  NameDescription
Protected eventSerializeObjectState
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(Inherited from Exception.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also