OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException Class Reference

Thrown if a Partner cannot be opened for security reasons More...

Inheritance diagram for Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException:
Ict.Common.Exceptions.ESecurityAccessDeniedException Ict.Common.Exceptions.EOPAppException Ict.Common.Exceptions.EOPException

Public Member Functions

 ESecurityPartnerAccessDeniedException ()
 Initializes a new instance of this Exception Class. More...
 
 ESecurityPartnerAccessDeniedException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 ESecurityPartnerAccessDeniedException (string AMessage, Exception AInnerException)
 Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception. More...
 
 ESecurityPartnerAccessDeniedException (String AMessage, Int64 APartnerKey, string APartnerShortName, TPartnerAccessLevelEnum AAccessLevel)
 /// Initializes a new instance of this Exception Class with a specified error message and further data. More...
 
 ESecurityPartnerAccessDeniedException (SerializationInfo AInfo, StreamingContext AContext)
 Initializes a new instance of this Exception Class with serialized data. Needed for Remoting and general serialization. More...
 
override void GetObjectData (SerializationInfo AInfo, StreamingContext AContext)
 Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization. More...
 

Properties

Int64 PartnerKey [get, set]
 PartnerKey of Partner to which access is denied. More...
 
String PartnerShortName [get, set]
 ShortName of Partner to which access is denied. More...
 
byte AccessLevel [get, set]
 level of access that is denied More...
 
String Context [get, set]
 Context in which the access was denied. More...
 

Detailed Description

Thrown if a Partner cannot be opened for security reasons

Constructor & Destructor Documentation

◆ ESecurityPartnerAccessDeniedException() [1/5]

Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.ESecurityPartnerAccessDeniedException ( )
inline

Initializes a new instance of this Exception Class.

◆ ESecurityPartnerAccessDeniedException() [2/5]

Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.ESecurityPartnerAccessDeniedException ( String  AMessage)
inline

Initializes a new instance of this Exception Class with a specified error message.

Parameters
AMessageThe error message that explains the reason for the Exception.

◆ ESecurityPartnerAccessDeniedException() [3/5]

Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.ESecurityPartnerAccessDeniedException ( string  AMessage,
Exception  AInnerException 
)
inline

Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception.

Parameters
AMessageThe error message that explains the reason for the Exception.
AInnerExceptionThe Exception that is the cause of the current Exception, or a null reference if no inner Exception is specified.

◆ ESecurityPartnerAccessDeniedException() [4/5]

Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.ESecurityPartnerAccessDeniedException ( String  AMessage,
Int64  APartnerKey,
string  APartnerShortName,
TPartnerAccessLevelEnum  AAccessLevel 
)
inline

/// Initializes a new instance of this Exception Class with a specified error message and further data.

Parameters
AMessageThe error message that explains the reason for the Exception.
APartnerKey
APartnerShortName
AAccessLevel

◆ ESecurityPartnerAccessDeniedException() [5/5]

Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.ESecurityPartnerAccessDeniedException ( SerializationInfo  AInfo,
StreamingContext  AContext 
)
inline

Initializes a new instance of this Exception Class with serialized data. Needed for Remoting and general serialization.

Only to be used by the .NET Serialization system (eg within .NET Remoting).

Parameters
AInfoThe SerializationInfo that holds the serialized object data about the Exception being thrown.
AContextThe StreamingContext that contains contextual information about the source or destination.

Member Function Documentation

◆ GetObjectData()

override void Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.GetObjectData ( SerializationInfo  AInfo,
StreamingContext  AContext 
)
inline

Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization.

Only to be used by the .NET Serialization system (eg within .NET Remoting).

Parameters
AInfoThe SerializationInfo that holds the serialized object data about the Exception being thrown.
AContextThe StreamingContext that contains contextual information about the source or destination.

Property Documentation

◆ AccessLevel

byte Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.AccessLevel
getset

level of access that is denied

◆ Context

String Ict.Common.Exceptions.ESecurityAccessDeniedException.Context
getsetinherited

Context in which the access was denied.

◆ PartnerKey

Int64 Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.PartnerKey
getset

PartnerKey of Partner to which access is denied.

◆ PartnerShortName

String Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException.PartnerShortName
getset

ShortName of Partner to which access is denied.


The documentation for this class was generated from the following file: