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

Il parametro contentPosition passato a GetPageNumberAsync(ContentPosition).

pageNumber
Int32

Numero di pagina in cui viene visualizzato l'elemento contentPosition.

error
Exception

L'eccezione che si verifica durante l'operazione asincrona oppure NULL se non ci sono errori.

cancelled
Boolean

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

userState
Object

Il parametro userState univoco passato a GetPageNumberAsync(ContentPosition).

Commenti

L'operazione asincrona può essere annullata chiamando CancelAsync.

Si applica a

Vedi anche