GetPageNumberCompletedEventArgs Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la 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)
Paramètres
- contentPosition
- ContentPosition
Paramètre contentPosition passé à GetPageNumberAsync(ContentPosition).
- pageNumber
- Int32
Numéro de page où l’affichage s’affiche contentPosition .
- error
- Exception
Exception qui s’est produite pendant l’opération asynchrone ; ou NULL s’il n’y avait aucune erreur.
- cancelled
- Boolean
true si l’opération asynchrone a été annulée ; sinon, false.
- userState
- Object
Paramètre unique userState passé à GetPageNumberAsync(ContentPosition).
Remarques
L’opération asynchrone peut être annulée en appelant CancelAsync.