DataSourceProvider.Refresh 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.
Initiates a refresh operation to the underlying data model. The result is returned on the Data property.
public:
void Refresh();
public void Refresh ();
member this.Refresh : unit -> unit
Public Sub Refresh ()
Remarks
A refresh operation is typically asynchronous, a DataChanged event is raised when the Data property assumed a new value. If the refresh operation fails, the Data property is set to null
; the Error property is set with the error exception. The application can call Refresh while a previous refresh is still underway. Calling Refresh twice raises the DataChanged event twice.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om