GetErrorCode Method
Returns an error code that identifies the error.
Syntax
System.string GetErrorCode(
System.Exception ex
)Function GetErrorCode( _
ByVal ex As System.Exception _
) As System.StringParameters
| Name | Description |
|---|---|
| ex | The exception to parse. |
Return Value
The error code associated with the exception. This can be null or empty if the exception type does not support an error code.