TaskDialog.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes the shown task dialog with Cancel as resulting button.
public:
void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()
Remarks
To close the dialog with a different result, call the PerformClick() method of the TaskDialogButton that you want to set as a result.
This method can be called while the dialog is waiting for navigation to complete, whereas PerformClick() would throw in that case. When calling this method, the Click event won't be raised.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre