public static IAsyncResult BeginTransformColors(
this IReadWriteBitmapData bitmapData,
Func<Color64, Color64> transformFunction,
AsyncConfig? asyncConfig = null
)<ExtensionAttribute>
Public Shared Function BeginTransformColors (
bitmapData As IReadWriteBitmapData,
transformFunction As Func(Of Color64, Color64),
Optional asyncConfig As AsyncConfig = Nothing
) As IAsyncResultpublic:
[ExtensionAttribute]
static IAsyncResult^ BeginTransformColors(
IReadWriteBitmapData^ bitmapData,
Func<Color64, Color64>^ transformFunction,
AsyncConfig^ asyncConfig = nullptr
)[<ExtensionAttribute>]
static member BeginTransformColors :
bitmapData : IReadWriteBitmapData *
transformFunction : Func<Color64, Color64> *
?asyncConfig : AsyncConfig
(* Defaults:
let _asyncConfig = defaultArg asyncConfig null
*)
-> IAsyncResult In .NET Framework 4.0 and above you can use also the TransformColorsAsync(IReadWriteBitmapData, FuncColor64, Color64, TaskConfig) method.
To finish the operation and to get the exception that occurred during the operation you have to call the EndTransformColors method.
This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.
| ArgumentNullException | bitmapData or transformFunction is . |