共用方式為


PrintQueueStream 建構函式

定義

初始化 PrintQueueStream 類別的新執行個體。

多載

PrintQueueStream(PrintQueue, String)

為指定之 PrintQueueStream 所裝載的特定列印工作初始化 PrintQueue 類別的新執行個體。

PrintQueueStream(PrintQueue, String, Boolean)

為指定之 PrintQueueStream 所裝載的特定列印工作初始化 PrintQueue 類別的新執行個體,並指出是否應在資料流關閉時認可 PrintQueueStream 中的資料。

PrintQueueStream(PrintQueue, String, Boolean, PrintTicket)

使用指定的設定和是否應該在資料流關閉時認可 PrintQueueStream 的表示,針對指定的 PrintQueue 中裝載的指定列印工作初始化 PrintQueueStream 類別的新執行個體。

PrintQueueStream(PrintQueue, String)

為指定之 PrintQueueStream 所裝載的特定列印工作初始化 PrintQueue 類別的新執行個體。

public:
 PrintQueueStream(System::Printing::PrintQueue ^ printQueue, System::String ^ printJobName);
[System.Security.SecurityCritical]
public PrintQueueStream (System.Printing.PrintQueue printQueue, string printJobName);
public PrintQueueStream (System.Printing.PrintQueue printQueue, string printJobName);
[<System.Security.SecurityCritical>]
new System.Printing.PrintQueueStream : System.Printing.PrintQueue * string -> System.Printing.PrintQueueStream
new System.Printing.PrintQueueStream : System.Printing.PrintQueue * string -> System.Printing.PrintQueueStream
Public Sub New (printQueue As PrintQueue, printJobName As String)

參數

printQueue
PrintQueue

PrintQueue,裝載提供資料流內容的列印工作。

printJobName
String

提供資料流內容之列印工作的名稱。

屬性

適用於

PrintQueueStream(PrintQueue, String, Boolean)

為指定之 PrintQueueStream 所裝載的特定列印工作初始化 PrintQueue 類別的新執行個體,並指出是否應在資料流關閉時認可 PrintQueueStream 中的資料。

public:
 PrintQueueStream(System::Printing::PrintQueue ^ printQueue, System::String ^ printJobName, bool commitDataOnClose);
[System.Security.SecurityCritical]
public PrintQueueStream (System.Printing.PrintQueue printQueue, string printJobName, bool commitDataOnClose);
public PrintQueueStream (System.Printing.PrintQueue printQueue, string printJobName, bool commitDataOnClose);
[<System.Security.SecurityCritical>]
new System.Printing.PrintQueueStream : System.Printing.PrintQueue * string * bool -> System.Printing.PrintQueueStream
new System.Printing.PrintQueueStream : System.Printing.PrintQueue * string * bool -> System.Printing.PrintQueueStream
Public Sub New (printQueue As PrintQueue, printJobName As String, commitDataOnClose As Boolean)

參數

printQueue
PrintQueue

PrintQueue,裝載提供資料流內容的列印工作。

printJobName
String

提供資料流內容之列印工作的名稱。

commitDataOnClose
Boolean

如果要在呼叫 Close() 方法時認可 PrintQueueStream 中的資料,則為 true;否則為 false

屬性

適用於

PrintQueueStream(PrintQueue, String, Boolean, PrintTicket)

使用指定的設定和是否應該在資料流關閉時認可 PrintQueueStream 的表示,針對指定的 PrintQueue 中裝載的指定列印工作初始化 PrintQueueStream 類別的新執行個體。

public:
 PrintQueueStream(System::Printing::PrintQueue ^ printQueue, System::String ^ printJobName, bool commitDataOnClose, System::Printing::PrintTicket ^ printTicket);
[System.Security.SecurityCritical]
public PrintQueueStream (System.Printing.PrintQueue printQueue, string printJobName, bool commitDataOnClose, System.Printing.PrintTicket printTicket);
public PrintQueueStream (System.Printing.PrintQueue printQueue, string printJobName, bool commitDataOnClose, System.Printing.PrintTicket printTicket);
[<System.Security.SecurityCritical>]
new System.Printing.PrintQueueStream : System.Printing.PrintQueue * string * bool * System.Printing.PrintTicket -> System.Printing.PrintQueueStream
new System.Printing.PrintQueueStream : System.Printing.PrintQueue * string * bool * System.Printing.PrintTicket -> System.Printing.PrintQueueStream
Public Sub New (printQueue As PrintQueue, printJobName As String, commitDataOnClose As Boolean, printTicket As PrintTicket)

參數

printQueue
PrintQueue

PrintQueue,裝載提供資料流內容的列印工作。

printJobName
String

提供資料流內容之列印工作的名稱。

commitDataOnClose
Boolean

如果要在呼叫 Close() 方法時認可 PrintQueueStream 中的資料,則為 true;否則為 false

printTicket
PrintTicket

列印工作的設定。

屬性

適用於