다음을 통해 공유


SerializerWriter.WriteAsync 메서드

정의

파생 클래스에서 재정의된 경우 콘텐츠를 serialization Stream에 비동기적으로 씁니다.

오버로드

WriteAsync(FixedPage, Object)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(Visual, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 연결된 PrintTicket 및 식별자와 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedPage, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocumentSequence, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocument, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(DocumentPaginator, PrintTicket, Object)

파생 클래스에서 재정의된 경우 페이지가 지정된 콘텐츠를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(Visual, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(Visual, Object)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedPage, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocumentSequence, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(Visual)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocument, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocument, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(DocumentPaginator, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 DocumentPaginator의 콘텐츠를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(DocumentPaginator, Object)

파생 클래스에서 재정의된 경우 지정된 DocumentPaginator의 콘텐츠를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedPage)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocumentSequence)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocument)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(DocumentPaginator)

파생 클래스에서 재정의된 경우 지정된 DocumentPaginator의 콘텐츠를 serialization Stream에 비동기적으로 씁니다.

WriteAsync(FixedDocumentSequence, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 serialization Stream에 비동기적으로 씁니다.

설명

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

WriteAsync(FixedPage, Object)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedPage ^ fixedPage, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.FixedPage fixedPage, object userState);
abstract member WriteAsync : System.Windows.Documents.FixedPage * obj -> unit
Public MustOverride Sub WriteAsync (fixedPage As FixedPage, userState As Object)

매개 변수

fixedPage
FixedPage

직렬화 Stream에 작성할 페이지입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(Visual, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 연결된 PrintTicket 및 식별자와 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Media::Visual ^ visual, System::Printing::PrintTicket ^ printTicket, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Media.Visual visual, System.Printing.PrintTicket printTicket, object userState);
abstract member WriteAsync : System.Windows.Media.Visual * System.Printing.PrintTicket * obj -> unit
Public MustOverride Sub WriteAsync (visual As Visual, printTicket As PrintTicket, userState As Object)

매개 변수

visual
Visual

serialization Visual 에 작성할 Stream요소입니다.

printTicket
PrintTicket

visual 요소의 기본 인쇄 설정입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(FixedPage, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedPage ^ fixedPage, System::Printing::PrintTicket ^ printTicket, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.FixedPage fixedPage, System.Printing.PrintTicket printTicket, object userState);
abstract member WriteAsync : System.Windows.Documents.FixedPage * System.Printing.PrintTicket * obj -> unit
Public MustOverride Sub WriteAsync (fixedPage As FixedPage, printTicket As PrintTicket, userState As Object)

매개 변수

fixedPage
FixedPage

직렬화 Stream에 작성할 페이지입니다.

printTicket
PrintTicket

fixedPage 콘텐츠의 기본 인쇄 설정입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(FixedDocumentSequence, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocumentSequence ^ fixedDocumentSequence, System::Printing::PrintTicket ^ printTicket, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.FixedDocumentSequence fixedDocumentSequence, System.Printing.PrintTicket printTicket, object userState);
abstract member WriteAsync : System.Windows.Documents.FixedDocumentSequence * System.Printing.PrintTicket * obj -> unit
Public MustOverride Sub WriteAsync (fixedDocumentSequence As FixedDocumentSequence, printTicket As PrintTicket, userState As Object)

매개 변수

fixedDocumentSequence
FixedDocumentSequence

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 시퀀스입니다.

printTicket
PrintTicket

fixedDocumentSequence 콘텐츠의 기본 인쇄 설정입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(FixedDocument, PrintTicket, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocument ^ fixedDocument, System::Printing::PrintTicket ^ printTicket, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.FixedDocument fixedDocument, System.Printing.PrintTicket printTicket, object userState);
abstract member WriteAsync : System.Windows.Documents.FixedDocument * System.Printing.PrintTicket * obj -> unit
Public MustOverride Sub WriteAsync (fixedDocument As FixedDocument, printTicket As PrintTicket, userState As Object)

매개 변수

fixedDocument
FixedDocument

직렬화 Stream에 작성할 문서입니다.

printTicket
PrintTicket

fixedDocument 콘텐츠의 기본 인쇄 설정입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(DocumentPaginator, PrintTicket, Object)

파생 클래스에서 재정의된 경우 페이지가 지정된 콘텐츠를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::DocumentPaginator ^ documentPaginator, System::Printing::PrintTicket ^ printTicket, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.DocumentPaginator documentPaginator, System.Printing.PrintTicket printTicket, object userState);
abstract member WriteAsync : System.Windows.Documents.DocumentPaginator * System.Printing.PrintTicket * obj -> unit
Public MustOverride Sub WriteAsync (documentPaginator As DocumentPaginator, printTicket As PrintTicket, userState As Object)

매개 변수

documentPaginator
DocumentPaginator

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 페이지 지정자입니다.

printTicket
PrintTicket

documentPaginator 콘텐츠의 기본 인쇄 설정입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(Visual, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Media::Visual ^ visual, System::Printing::PrintTicket ^ printTicket);
public abstract void WriteAsync (System.Windows.Media.Visual visual, System.Printing.PrintTicket printTicket);
abstract member WriteAsync : System.Windows.Media.Visual * System.Printing.PrintTicket -> unit
Public MustOverride Sub WriteAsync (visual As Visual, printTicket As PrintTicket)

매개 변수

visual
Visual

serialization Visual 에 작성할 Stream요소입니다.

printTicket
PrintTicket

visual 요소의 기본 인쇄 설정입니다.

설명

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 태스크에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(Visual, PrintTicket)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(Visual, Object)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Media::Visual ^ visual, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Media.Visual visual, object userState);
abstract member WriteAsync : System.Windows.Media.Visual * obj -> unit
Public MustOverride Sub WriteAsync (visual As Visual, userState As Object)

매개 변수

visual
Visual

serialization Visual 에 작성할 Stream요소입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(FixedPage, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedPage ^ fixedPage, System::Printing::PrintTicket ^ printTicket);
public abstract void WriteAsync (System.Windows.Documents.FixedPage fixedPage, System.Printing.PrintTicket printTicket);
abstract member WriteAsync : System.Windows.Documents.FixedPage * System.Printing.PrintTicket -> unit
Public MustOverride Sub WriteAsync (fixedPage As FixedPage, printTicket As PrintTicket)

매개 변수

fixedPage
FixedPage

직렬화 Stream에 작성할 페이지입니다.

printTicket
PrintTicket

fixedPage 콘텐츠의 기본 인쇄 설정입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(FixedPage, PrintTicket)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(FixedDocumentSequence, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocumentSequence ^ fixedDocumentSequence, System::Printing::PrintTicket ^ printTicket);
public abstract void WriteAsync (System.Windows.Documents.FixedDocumentSequence fixedDocumentSequence, System.Printing.PrintTicket printTicket);
abstract member WriteAsync : System.Windows.Documents.FixedDocumentSequence * System.Printing.PrintTicket -> unit
Public MustOverride Sub WriteAsync (fixedDocumentSequence As FixedDocumentSequence, printTicket As PrintTicket)

매개 변수

fixedDocumentSequence
FixedDocumentSequence

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 시퀀스입니다.

printTicket
PrintTicket

fixedDocumentSequence 콘텐츠의 기본 인쇄 설정입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(FixedDocumentSequence, PrintTicket)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(Visual)

파생 클래스에서 재정의된 경우 지정된 Visual 요소를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Media::Visual ^ visual);
public abstract void WriteAsync (System.Windows.Media.Visual visual);
abstract member WriteAsync : System.Windows.Media.Visual -> unit
Public MustOverride Sub WriteAsync (visual As Visual)

매개 변수

visual
Visual

serialization Visual 에 작성할 Stream요소입니다.

설명

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(Visual)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(FixedDocument, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 연결된 PrintTicket과 함께 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocument ^ fixedDocument, System::Printing::PrintTicket ^ printTicket);
public abstract void WriteAsync (System.Windows.Documents.FixedDocument fixedDocument, System.Printing.PrintTicket printTicket);
abstract member WriteAsync : System.Windows.Documents.FixedDocument * System.Printing.PrintTicket -> unit
Public MustOverride Sub WriteAsync (fixedDocument As FixedDocument, printTicket As PrintTicket)

매개 변수

fixedDocument
FixedDocument

직렬화 Stream에 작성할 문서입니다.

printTicket
PrintTicket

fixedDocument 콘텐츠의 기본 인쇄 설정입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(FixedDocument, PrintTicket)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(FixedDocument, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocument ^ fixedDocument, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.FixedDocument fixedDocument, object userState);
abstract member WriteAsync : System.Windows.Documents.FixedDocument * obj -> unit
Public MustOverride Sub WriteAsync (fixedDocument As FixedDocument, userState As Object)

매개 변수

fixedDocument
FixedDocument

직렬화 Stream에 작성할 문서입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(DocumentPaginator, PrintTicket)

파생 클래스에서 재정의된 경우 지정된 DocumentPaginator의 콘텐츠를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::DocumentPaginator ^ documentPaginator, System::Printing::PrintTicket ^ printTicket);
public abstract void WriteAsync (System.Windows.Documents.DocumentPaginator documentPaginator, System.Printing.PrintTicket printTicket);
abstract member WriteAsync : System.Windows.Documents.DocumentPaginator * System.Printing.PrintTicket -> unit
Public MustOverride Sub WriteAsync (documentPaginator As DocumentPaginator, printTicket As PrintTicket)

매개 변수

documentPaginator
DocumentPaginator

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 페이지 지정자입니다.

printTicket
PrintTicket

documentPaginator 콘텐츠의 기본 인쇄 설정입니다.

설명

printTicketnull 기본 인쇄 설정이 없는 경우.

이 메서드는 유효성을 검사 하거나 수정 하지는 주어진 printTicket 특정 PrintQueue합니다. 필요한 경우 PrintQueue.MergeAndValidatePrintTicket 메서드를 사용하여 지정된 프린터에 맞는 PrintQueuePrintTicket을 만듭니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(DocumentPaginator, PrintTicket)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(DocumentPaginator, Object)

파생 클래스에서 재정의된 경우 지정된 DocumentPaginator의 콘텐츠를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::DocumentPaginator ^ documentPaginator, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.DocumentPaginator documentPaginator, object userState);
abstract member WriteAsync : System.Windows.Documents.DocumentPaginator * obj -> unit
Public MustOverride Sub WriteAsync (documentPaginator As DocumentPaginator, userState As Object)

매개 변수

documentPaginator
DocumentPaginator

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 페이지 지정자입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상

WriteAsync(FixedPage)

파생 클래스에서 재정의된 경우 지정된 FixedPage를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedPage ^ fixedPage);
public abstract void WriteAsync (System.Windows.Documents.FixedPage fixedPage);
abstract member WriteAsync : System.Windows.Documents.FixedPage -> unit
Public MustOverride Sub WriteAsync (fixedPage As FixedPage)

매개 변수

fixedPage
FixedPage

직렬화 Stream에 작성할 페이지입니다.

설명

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(FixedPage)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(FixedDocumentSequence)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocumentSequence ^ fixedDocumentSequence);
public abstract void WriteAsync (System.Windows.Documents.FixedDocumentSequence fixedDocumentSequence);
abstract member WriteAsync : System.Windows.Documents.FixedDocumentSequence -> unit
Public MustOverride Sub WriteAsync (fixedDocumentSequence As FixedDocumentSequence)

매개 변수

fixedDocumentSequence
FixedDocumentSequence

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 시퀀스입니다.

설명

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(FixedDocumentSequence)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(FixedDocument)

파생 클래스에서 재정의된 경우 지정된 FixedDocument를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocument ^ fixedDocument);
public abstract void WriteAsync (System.Windows.Documents.FixedDocument fixedDocument);
abstract member WriteAsync : System.Windows.Documents.FixedDocument -> unit
Public MustOverride Sub WriteAsync (fixedDocument As FixedDocument)

매개 변수

fixedDocument
FixedDocument

직렬화 Stream에 작성할 문서입니다.

설명

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(FixedDocument)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(DocumentPaginator)

파생 클래스에서 재정의된 경우 지정된 DocumentPaginator의 콘텐츠를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::DocumentPaginator ^ documentPaginator);
public abstract void WriteAsync (System.Windows.Documents.DocumentPaginator documentPaginator);
abstract member WriteAsync : System.Windows.Documents.DocumentPaginator -> unit
Public MustOverride Sub WriteAsync (documentPaginator As DocumentPaginator)

매개 변수

documentPaginator
DocumentPaginator

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 페이지 지정자입니다.

설명

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

이 메서드는 메서드의 동기 대응에서 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 작업이 대기될 때 해당 예외가 throw됩니다. 와 같은 ArgumentException사용 예외는 여전히 동기적으로 throw됩니다. 저장된 예외는 에서 throw Write(DocumentPaginator)된 예외를 참조하세요.

추가 정보

적용 대상

WriteAsync(FixedDocumentSequence, Object)

파생 클래스에서 재정의된 경우 지정된 FixedDocumentSequence를 serialization Stream에 비동기적으로 씁니다.

public:
 abstract void WriteAsync(System::Windows::Documents::FixedDocumentSequence ^ fixedDocumentSequence, System::Object ^ userState);
public abstract void WriteAsync (System.Windows.Documents.FixedDocumentSequence fixedDocumentSequence, object userState);
abstract member WriteAsync : System.Windows.Documents.FixedDocumentSequence * obj -> unit
Public MustOverride Sub WriteAsync (fixedDocumentSequence As FixedDocumentSequence, userState As Object)

매개 변수

fixedDocumentSequence
FixedDocumentSequence

직렬화 Stream에 쓸 콘텐츠를 정의하는 문서 시퀀스입니다.

userState
Object

비동기 쓰기 작업을 식별하기 위해 호출자가 지정한 개체입니다.

설명

userState 에 전달 되는 WritingCompletedEventHandler 경우는 WritingCompleted 이벤트가 발생 합니다.

출력 Stream 쓰기 작업은 구현 하는 파생된 클래스의 생성자에 매개 변수로 지정 일반적으로 SerializerWriter입니다.

추가 정보

적용 대상