Tip
See the Remarks section of the Combine(IReadableBitmapData, IReadWriteBitmapData, FuncColorF, ColorF, ColorF, NullableRectangle, NullablePoint, ParallelConfig) method for more details.
public static IAsyncResult BeginCombine(
this IReadableBitmapData source,
IReadWriteBitmapData target,
Func<ColorF, ColorF, ColorF> combineFunction,
Rectangle? sourceRectangle = null,
Point? targetLocation = null,
AsyncConfig? asyncConfig = null
)<ExtensionAttribute>
Public Shared Function BeginCombine (
source As IReadableBitmapData,
target As IReadWriteBitmapData,
combineFunction As Func(Of ColorF, ColorF, ColorF),
Optional sourceRectangle As Rectangle? = Nothing,
Optional targetLocation As Point? = Nothing,
Optional asyncConfig As AsyncConfig = Nothing
) As IAsyncResultpublic:
[ExtensionAttribute]
static IAsyncResult^ BeginCombine(
IReadableBitmapData^ source,
IReadWriteBitmapData^ target,
Func<ColorF, ColorF, ColorF>^ combineFunction,
Nullable<Rectangle> sourceRectangle = nullptr,
Nullable<Point> targetLocation = nullptr,
AsyncConfig^ asyncConfig = nullptr
)[<ExtensionAttribute>]
static member BeginCombine :
source : IReadableBitmapData *
target : IReadWriteBitmapData *
combineFunction : Func<ColorF, ColorF, ColorF> *
?sourceRectangle : Nullable<Rectangle> *
?targetLocation : Nullable<Point> *
?asyncConfig : AsyncConfig
(* Defaults:
let _sourceRectangle = defaultArg sourceRectangle null
let _targetLocation = defaultArg targetLocation null
let _asyncConfig = defaultArg asyncConfig null
*)
-> IAsyncResult In .NET Framework 4.0 and above you can use also the CombineAsync method.
To finish the operation and to get the exception that occurred during the operation you have to call the EndCombine method.
This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.
| ArgumentNullException | source, target or combineFunction is . |