Class JabraException
A custom exception which extends the base System.Exception class by adding a ErrorType property.
Inheritance
System.Object
System.Exception
JabraException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Jabra.NET.Sdk.ToolsAndHelpers
Assembly: Jabra.NET.Sdk.dll
Syntax
[Serializable]
public class JabraException : Exception, ISerializable
Constructors
JabraException(SerializationInfo, StreamingContext)
Declaration
protected JabraException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
JabraException(String)
Declaration
protected JabraException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
JabraException(String, Exception)
Declaration
protected JabraException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
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.
Declaration
public ErrorType Type { get; }
Property Value
Type | Description |
---|---|
ErrorType |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Exception.ToString()
Implements
System.Runtime.Serialization.ISerializable