Class IC4Exception

ライブラリ固有のエラーが発生した場合に使用される例外の種類です。

継承

IC4Exception

実装

Namespace: ic4
Assembly: ic4dotnet.dll

構文

[Serializable]
public class IC4Exception : Exception, ISerializable

備考

ErrorCode プロパティは、ErrorCode の値を通じてエラー情報を提供します。
ToString()を呼び出すことで、さらに詳しいエラー情報を取得できます。

コンストラクタ

IC4Exception(SerializationInfo, StreamingContext)

宣言

protected IC4Exception(SerializationInfo info, StreamingContext context)

パラメータ

名前 説明
SerializationInfo info
StreamingContext context

プロパティ

ErrorCode

エラーの内容を識別するためのエラーコードです。

宣言

public ErrorCode ErrorCode { get; }

プロパティ値

説明
ErrorCode

メソッド

GetObjectData(SerializationInfo, StreamingContext)

宣言

public override void GetObjectData(SerializationInfo info, StreamingContext context)

パラメータ

名前 説明
SerializationInfo info
StreamingContext context
オーバーライド

実装

ISerializable