PrintCommitAttributesException クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
エラー条件によって、オブジェクトが表す実際のコンピューター、プリンター、またはデバイスに対する PrintSystemObject によって一部の属性がコミットされない場合にスローされる例外。
public ref class PrintCommitAttributesException : System::Printing::PrintSystemException
[System.Serializable]
public class PrintCommitAttributesException : System.Printing.PrintSystemException
[<System.Serializable>]
type PrintCommitAttributesException = class
inherit PrintSystemException
Public Class PrintCommitAttributesException
Inherits PrintSystemException
- 継承
- 属性
注釈
Caution
System.Printing名前空間内のクラスは、Windows サービスやASP.NETアプリケーションまたはサービス内で使用することはサポートされていません。 これらのアプリケーションの種類の 1 つからこれらのクラスを使用しようとすると、サービスパフォーマンスの低下や実行時の例外など、予期しない問題が発生する可能性があります。
Windows フォーム アプリケーションから印刷する場合は、 System.Drawing.Printing 名前空間を参照してください。
コンストラクター
| 名前 | 説明 |
|---|---|
| PrintCommitAttributesException() |
PrintCommitAttributesException クラスの新しいインスタンスを初期化します。 |
| PrintCommitAttributesException(Int32, Collection<String>, Collection<String>) |
指定したエラー コードと成功と失敗のコレクションを使用して、 PrintCommitAttributesException クラスの新しいインスタンスを初期化します。 |
| PrintCommitAttributesException(Int32, String, Collection<String>, Collection<String>, String) |
指定したエラー コード、メッセージ、オブジェクト名、および成功と失敗のコレクションを使用して、 PrintCommitAttributesException クラスの新しいインスタンスを初期化します。 |
| PrintCommitAttributesException(SerializationInfo, StreamingContext) |
指定したSerializationInfoとStreamingContextを使用して、PrintCommitAttributesException クラスの新しいインスタンスを初期化します。 |
| PrintCommitAttributesException(String, Exception) |
指定したメッセージと内部Exceptionを使用して、PrintCommitAttributesException クラスの新しいインスタンスを初期化します。 |
| PrintCommitAttributesException(String) |
PrintCommitAttributesException クラスの新しいインスタンスを初期化し、指定されたメッセージを提供します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| CommittedAttributesCollection |
正常にコミットされた属性の名前の Collection<T> を取得します。 |
| Data |
例外に関する追加のユーザー定義情報を提供するキーと値のペアのコレクションを取得します。 (継承元 Exception) |
| FailedAttributesCollection |
コミットされなかった属性の名前の Collection<T> を取得します。 |
| HelpLink |
この例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。 (継承元 Exception) |
| HResult |
特定の例外に割り当てられるコード化された数値である HRESULT を取得または設定します。 (継承元 Exception) |
| InnerException |
現在の例外の原因となった Exception インスタンスを取得します。 (継承元 Exception) |
| Message |
現在の例外を説明するメッセージを取得します。 (継承元 Exception) |
| PrintObjectName |
例外をスローしたオブジェクトの名前を取得します。 |
| Source |
エラーの原因となるアプリケーションまたはオブジェクトの名前を取得または設定します。 (継承元 Exception) |
| StackTrace |
呼び出し履歴のイミディエイト フレームの文字列表現を取得します。 (継承元 Exception) |
| TargetSite |
現在の例外をスローするメソッドを取得します。 (継承元 Exception) |
メソッド
| 名前 | 説明 |
|---|---|
| Equals(Object) |
指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
| GetBaseException() |
派生クラスでオーバーライドされた場合、1 つ以上の後続の例外の根本原因である Exception を返します。 (継承元 Exception) |
| GetHashCode() |
既定のハッシュ関数として機能します。 (継承元 Object) |
| GetObjectData(SerializationInfo, StreamingContext) |
オブジェクトのシリアル化とシリアル化されたストリームのコンテキストに関する情報を取得します。 |
| GetType() |
現在のインスタンスのランタイム型を取得します。 (継承元 Exception) |
| MemberwiseClone() |
現在の Objectの簡易コピーを作成します。 (継承元 Object) |
| ToString() |
現在の例外の文字列形式を作成して返します。 (継承元 Exception) |
イベント
| 名前 | 説明 |
|---|---|
| SerializeObjectState |
例外に関するシリアル化されたデータを含む例外状態オブジェクトを作成するために例外がシリアル化されるときに発生します。 (継承元 Exception) |