Class JabraException
- Namespace
- Jabra.NET.Sdk.ToolsAndHelpers
- Assembly
- Jabra.NET.Sdk.dll
[Serializable]
public class JabraException : Exception, ISerializable
- Inheritance
-
JabraException
- Implements
- Derived
- Inherited Members
Constructors
JabraException()
public JabraException()
JabraException(SerializationInfo, StreamingContext)
protected JabraException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
JabraException(string?)
public JabraException(string? message)
Parameters
message
string
JabraException(string, ErrorType)
DEPRECATED Please use the other class constructors instead as ErrorType should no longer be used Initializes a new instance of the JabraException class. Construct a JabraException object.
[Obsolete("This constructor will be removed in future version of the SDK and is left for backward compatibility.")]
protected JabraException(string message, ErrorType type)
Parameters
message
stringThe error message of the exception.
type
ErrorTypeWhat caused the exception to be thrown.
JabraException(string?, Exception?)
public JabraException(string? message, Exception? innerException)
Parameters
JabraException(string?, Exception?, ErrorType)
[Obsolete("This constructor will be removed in future version of the SDK and is left for backward compatibility.")]
protected JabraException(string? message, Exception? innerException, ErrorType type)
Parameters
Properties
Type
DEPRECATED Determines what caused the exception to be thrown. This will be removed in future versions of the SDK and exceptions will be subclassed instead.
[Obsolete("This property will be removed in future version of the SDK.")]
public ErrorType Type { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
ToString()
public override string ToString()