AskiaPortalException Constructor (IContext, Exception, Int32, String, NullableGuid) |
Creates a new instance of AskiaPortal exception.
Namespace:
AskiaPortalCmn.Exceptions
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax public AskiaPortalException(
IContext context,
Exception innerException,
int code,
string key,
Nullable<Guid> translationModuleGuid = null
)
Public Sub New (
context As IContext,
innerException As Exception,
code As Integer,
key As String,
Optional translationModuleGuid As Nullable(Of Guid) = Nothing
)
public:
AskiaPortalException(
IContext^ context,
Exception^ innerException,
int code,
String^ key,
Nullable<Guid> translationModuleGuid = nullptr
)
Parameters
- context
- Type: AskiaPortalCmnIContext
Context of execution. - innerException
- Type: SystemException
Inner exception. - code
- Type: SystemInt32
Code of the exception. - key
- Type: SystemString
Key of the translation. - translationModuleGuid (Optional)
- Type: SystemNullableGuid
Module GUID of the translation, if null the CurrentModule will be used.
See Also