AskiaPortalException Constructor (IContext, Int32, String, NullableGuid, Object) |
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,
int code,
string key,
Nullable<Guid> translationModuleGuid = null,
params Object[] details
)
Public Sub New (
context As IContext,
code As Integer,
key As String,
Optional translationModuleGuid As Nullable(Of Guid) = Nothing,
ParamArray details As Object()
)
public:
AskiaPortalException(
IContext^ context,
int code,
String^ key,
Nullable<Guid> translationModuleGuid = nullptr,
... array<Object^>^ details
)
Parameters
- context
- Type: AskiaPortalCmnIContext
Context of execution. - 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. - details
- Type: SystemObject
Exception details (Used to format translation).
See Also