PrintSystemException コンストラクター

定義

PrintSystemException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
PrintSystemException()

PrintSystemException クラスの新しいインスタンスを初期化します。

PrintSystemException(String)

特定のエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

PrintSystemException(Int32, String)

特定のエラー コードとエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

PrintSystemException(SerializationInfo, StreamingContext)

特定のシリアル化情報とストリーミング コンテキストを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

PrintSystemException(String, Exception)

例外の根本的な原因など、特定のエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

PrintSystemException(Int32, String, Exception)

特定のエラー コードとエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します(例外の根本的な原因を含む)。

PrintSystemException(Int32, String, String)

特定のエラー コード、エラー メッセージ、プリンター メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

PrintSystemException()

PrintSystemException クラスの新しいインスタンスを初期化します。

public:
 PrintSystemException();
public PrintSystemException();
Public Sub New ()

適用対象

PrintSystemException(String)

特定のエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

public:
 PrintSystemException(System::String ^ message);
public PrintSystemException(string message);
new System.Printing.PrintSystemException : string -> System.Printing.PrintSystemException
Public Sub New (message As String)

パラメーター

message
String

エラー状態を説明する文字列。

適用対象

PrintSystemException(Int32, String)

特定のエラー コードとエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

public:
 PrintSystemException(int errorCode, System::String ^ message);
public PrintSystemException(int errorCode, string message);
new System.Printing.PrintSystemException : int * string -> System.Printing.PrintSystemException
Public Sub New (errorCode As Integer, message As String)

パラメーター

errorCode
Int32

HRESULT として解釈される Int32 。特定の例外に割り当てられるコード化された数値です。

message
String

エラー状態を説明する文字列。

適用対象

PrintSystemException(SerializationInfo, StreamingContext)

特定のシリアル化情報とストリーミング コンテキストを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

protected:
 PrintSystemException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PrintSystemException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Printing.PrintSystemException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Printing.PrintSystemException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

オブジェクトをシリアル化または逆シリアル化するために必要なデータ。

context
StreamingContext

シリアル化されたストリームのソースと宛先を含むコンテキスト。

適用対象

PrintSystemException(String, Exception)

例外の根本的な原因など、特定のエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

public:
 PrintSystemException(System::String ^ message, Exception ^ innerException);
public PrintSystemException(string message, Exception innerException);
new System.Printing.PrintSystemException : string * Exception -> System.Printing.PrintSystemException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

エラー状態を説明する文字列。

innerException
Exception

例外の原因となった基になるエラー状態。

適用対象

PrintSystemException(Int32, String, Exception)

特定のエラー コードとエラー メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します(例外の根本的な原因を含む)。

public:
 PrintSystemException(int errorCode, System::String ^ message, Exception ^ innerException);
public PrintSystemException(int errorCode, string message, Exception innerException);
new System.Printing.PrintSystemException : int * string * Exception -> System.Printing.PrintSystemException
Public Sub New (errorCode As Integer, message As String, innerException As Exception)

パラメーター

errorCode
Int32

HRESULT として解釈される Int32 。特定の例外に割り当てられるコード化された数値です。

message
String

エラー状態を説明する文字列。

innerException
Exception

例外の原因となった基になるエラー状態。

適用対象

PrintSystemException(Int32, String, String)

特定のエラー コード、エラー メッセージ、プリンター メッセージを提供する PrintSystemException クラスの新しいインスタンスを初期化します。

public:
 PrintSystemException(int errorCode, System::String ^ message, System::String ^ printerMessage);
public PrintSystemException(int errorCode, string message, string printerMessage);
new System.Printing.PrintSystemException : int * string * string -> System.Printing.PrintSystemException
Public Sub New (errorCode As Integer, message As String, printerMessage As String)

パラメーター

errorCode
Int32

HRESULT として解釈される Int32 。特定の例外に割り当てられるコード化された数値です。

message
String

エラー状態を説明する文字列。

printerMessage
String

例外の原因となったプリンター ドライバーまたはアンマネージド印刷システム コンポーネントによって送信された例外メッセージ。

適用対象