GetPageCompletedEventArgs Construtor

Definição

Inicializa uma nova instância da classe GetPageCompletedEventArgs.

public:
 GetPageCompletedEventArgs(System::Windows::Documents::DocumentPage ^ page, int pageNumber, Exception ^ error, bool cancelled, System::Object ^ userState);
public GetPageCompletedEventArgs (System.Windows.Documents.DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState);
new System.Windows.Documents.GetPageCompletedEventArgs : System.Windows.Documents.DocumentPage * int * Exception * bool * obj -> System.Windows.Documents.GetPageCompletedEventArgs
Public Sub New (page As DocumentPage, pageNumber As Integer, error As Exception, cancelled As Boolean, userState As Object)

Parâmetros

page
DocumentPage

A DocumentPage para a pageNumber solicitada.

pageNumber
Int32

O parâmetro pageNumber passado para GetPageAsync(Int32, Object).

error
Exception

A exceção que ocorreu durante a operação assíncrona ou NULO se nenhum erro ocorreu.

cancelled
Boolean

true se a operação assíncrona foi cancelada; caso contrário, false.

userState
Object

O parâmetro userState exclusivo passado para GetPageAsync(Int32, Object).

Comentários

A operação assíncrona pode ser cancelada chamando CancelAsync.

Aplica-se a

Confira também