GetPageNumberCompletedEventArgs Costruttore

Definizione

Inizializza una nuova istanza della classe GetPageNumberCompletedEventArgs.

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

Parametri

contentPosition
ContentPosition

Parametro contentPosition passato a GetPageNumberAsync(ContentPosition).

pageNumber
Int32

Numero di pagina in cui viene visualizzato .contentPosition

error
Exception

Eccezione che si è verificata durante l'operazione asincrona; o NULL se non sono presenti errori.

cancelled
Boolean

true se l'operazione asincrona è stata annullata; in caso contrario, false.

userState
Object

Parametro univoco userState passato a GetPageNumberAsync(ContentPosition).

Commenti

L'operazione asincrona può essere annullata chiamando CancelAsync.

Si applica a

Vedi anche