Class IC4Exception

Exception type thrown for library-specific error conditions.

Inheritance

IC4Exception

Implements

Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
[Serializable]
public class IC4Exception : Exception, ISerializable
Remarks

The ErrorCode property provides error information through an ErrorCode value.

Call ToString() to query additional error information.

Constructors

IC4Exception(SerializationInfo, StreamingContext)

Declaration

protected IC4Exception(SerializationInfo info, StreamingContext context)

Parameters

Type Name Description
SerializationInfo info
StreamingContext context

Properties

ErrorCode

The error code identifying the error condition.

Declaration

public ErrorCode ErrorCode { get; }
Property Value
Type Description
ErrorCode

Methods

GetObjectData(SerializationInfo, StreamingContext)

Declaration

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

Type Name Description
SerializationInfo info
StreamingContext context
Overrides

Implements