PrintSystemException Oluşturucular

Tanım

PrintSystemException sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
PrintSystemException()

PrintSystemException sınıfının yeni bir örneğini başlatır.

PrintSystemException(String)

Sınıfın PrintSystemException belirli bir hata iletisi sağlayan yeni bir örneğini başlatır.

PrintSystemException(Int32, String)

Sınıfın PrintSystemException belirli bir hata kodu ve hata iletisi sağlayan yeni bir örneğini başlatır.

PrintSystemException(SerializationInfo, StreamingContext)

Belirli serileştirme bilgileri ve akış bağlamı sağlayan sınıfının yeni bir örneğini PrintSystemException başlatır.

PrintSystemException(String, Exception)

Özel durumun temel nedeni de dahil olmak üzere belirli bir hata iletisi sağlayan sınıfının yeni bir örneğini PrintSystemException başlatır.

PrintSystemException(Int32, String, Exception)

Özel durumun temel nedeni de dahil olmak üzere belirli bir hata kodu ve hata iletisi sağlayan sınıfının yeni bir örneğini PrintSystemException başlatır.

PrintSystemException(Int32, String, String)

Sınıfın PrintSystemException belirli bir hata kodu, hata iletisi ve yazıcı iletisi sağlayan yeni bir örneğini başlatır.

PrintSystemException()

PrintSystemException sınıfının yeni bir örneğini başlatır.

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

Şunlara uygulanır

PrintSystemException(String)

Sınıfın PrintSystemException belirli bir hata iletisi sağlayan yeni bir örneğini başlatır.

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

Parametreler

message
String

Hata koşulunu açıklayan bir dize.

Şunlara uygulanır

PrintSystemException(Int32, String)

Sınıfın PrintSystemException belirli bir hata kodu ve hata iletisi sağlayan yeni bir örneğini başlatır.

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)

Parametreler

errorCode
Int32

Int32 HrESULT olarak yorumlanan, belirli bir özel duruma atanan kodlanmış sayısal değer.

message
String

Hata koşulunu açıklayan bir dize.

Şunlara uygulanır

PrintSystemException(SerializationInfo, StreamingContext)

Belirli serileştirme bilgileri ve akış bağlamı sağlayan sınıfının yeni bir örneğini PrintSystemException başlatır.

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)

Parametreler

info
SerializationInfo

Bir nesneyi seri hale getirmek veya seri durumdan çıkarmak için gereken veriler.

context
StreamingContext

Kaynak ve hedef dahil olmak üzere, serileştirilmiş akışın bağlamı.

Şunlara uygulanır

PrintSystemException(String, Exception)

Özel durumun temel nedeni de dahil olmak üzere belirli bir hata iletisi sağlayan sınıfının yeni bir örneğini PrintSystemException başlatır.

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)

Parametreler

message
String

Hata koşulunu açıklayan bir dize.

innerException
Exception

Özel duruma neden olan temel hata koşulu.

Şunlara uygulanır

PrintSystemException(Int32, String, Exception)

Özel durumun temel nedeni de dahil olmak üzere belirli bir hata kodu ve hata iletisi sağlayan sınıfının yeni bir örneğini PrintSystemException başlatır.

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)

Parametreler

errorCode
Int32

Int32 HrESULT olarak yorumlanan, belirli bir özel duruma atanan kodlanmış sayısal değer.

message
String

Hata koşulunu açıklayan bir dize.

innerException
Exception

Özel duruma neden olan temel hata koşulu.

Şunlara uygulanır

PrintSystemException(Int32, String, String)

Sınıfın PrintSystemException belirli bir hata kodu, hata iletisi ve yazıcı iletisi sağlayan yeni bir örneğini başlatır.

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)

Parametreler

errorCode
Int32

Int32 HrESULT olarak yorumlanan, belirli bir özel duruma atanan kodlanmış sayısal değer.

message
String

Hata koşulunu açıklayan bir dize.

printerMessage
String

Özel duruma neden olan yazıcı sürücüsü veya yönetilmeyen yazdırma sistemi bileşeni tarafından gönderilen özel durum iletisi.

Şunlara uygulanır