PrintQueueStream 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
打印作业的设置。
- 属性