Result Constructor (Exception, Object, String, String) | |
This Constructor set property depending on parameter
Namespace:
SIC
Assembly:
SIC (in SIC.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public Result(
ref Exception pException,
Object pItem = null,
string pDescription = "",
string pUserName = ""
)
Public Sub New (
ByRef pException As Exception,
Optional pItem As Object = Nothing,
Optional pDescription As String = "",
Optional pUserName As String = ""
)
Parameters
- pException
- Type: SystemException
it can real exception, exception of validation or exception of cancelled - pItem (Optional)
- Type: SystemObject
optional can use as data item or other return data bag (see Item property Item) - pDescription (Optional)
- Type: SystemString
optional can write a individuell description when Status = successful or cancelled else set from exception - pUserName (Optional)
- Type: SystemString
optional write user into protocol
See Also