public static Task<IReadWriteBitmapData?> CloneAsync(
this IReadableBitmapData source,
TaskConfig? asyncConfig = null
)
<ExtensionAttribute>
Public Shared Function CloneAsync (
source As IReadableBitmapData,
Optional asyncConfig As TaskConfig = Nothing
) As Task(Of IReadWriteBitmapData)
public:
[ExtensionAttribute]
static Task<IReadWriteBitmapData^>^ CloneAsync(
IReadableBitmapData^ source,
TaskConfig^ asyncConfig = nullptr
)
[<ExtensionAttribute>]
static member CloneAsync :
source : IReadableBitmapData *
?asyncConfig : TaskConfig
(* Defaults:
let _asyncConfig = defaultArg asyncConfig null
*)
-> Task<IReadWriteBitmapData>
Alternatively, you can also use the BeginClone(IReadableBitmapData, AsyncConfig) method, which is available on every platform.
This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.
ArgumentNullException | source is . |