Click or drag to resize
CanvasPrintTaskOptionsChangedEventArgsGetDeferral Method
Allows the app to perform asynchronous operations while processing this event.

Namespace:  Microsoft.Graphics.Canvas.Printing
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasPrintDeferral GetDeferral()

Return Value

Type: CanvasPrintDeferral
Remarks

Usually, when the PrintTaskOptionsChanged event handler returns this indicates to CanvasPrintDocument that the application has finished all the processing required. However, if the application needs to perform asynchronous operations (for example, loading files from disk or performing calculations on a background thread) then it should defer completion using GetDeferral.

See Also