Tip
See the Remarks section of the ToBitmap method for more details.
public static IAsyncResult BeginToBitmap(
this IReadableBitmapData source,
AsyncConfig? asyncConfig = null
)<ExtensionAttribute>
Public Shared Function BeginToBitmap (
source As IReadableBitmapData,
Optional asyncConfig As AsyncConfig = Nothing
) As IAsyncResultpublic:
[ExtensionAttribute]
static IAsyncResult^ BeginToBitmap(
IReadableBitmapData^ source,
AsyncConfig^ asyncConfig = nullptr
)[<ExtensionAttribute>]
static member BeginToBitmap :
source : IReadableBitmapData *
?asyncConfig : AsyncConfig
(* Defaults:
let _asyncConfig = defaultArg asyncConfig null
*)
-> IAsyncResult In .NET Framework 4.0 and above you can use also the ToBitmapAsync method.
To get the result or the exception that occurred during the operation you have to call the EndToBitmap method.
This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.
| ArgumentNullException | source is . |