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