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

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

適用対象