RemoteUserControl.GetXamlAsync(CancellationToken) 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.
This method retrieves the xaml describing the data template of the control.
public virtual System.Threading.Tasks.Task<string> GetXamlAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetXamlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GetXamlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function GetXamlAsync (cancellationToken As CancellationToken) As Task(Of String)
Parameters
- cancellationToken
- CancellationToken
Cancellation token for the async call.
Returns
A xaml string describing a data template.
Remarks
This method can be overridden to implement a different mechanism for retrieving the control's xaml definition.