Tip
See the Remarks section of the MakeTransparent(IReadWriteBitmapData) method for more details.
public static IAsyncResult BeginMakeTransparent(
this IReadWriteBitmapData bitmapData,
AsyncConfig? asyncConfig = null
)
<ExtensionAttribute>
Public Shared Function BeginMakeTransparent (
bitmapData As IReadWriteBitmapData,
Optional asyncConfig As AsyncConfig = Nothing
) As IAsyncResult
public:
[ExtensionAttribute]
static IAsyncResult^ BeginMakeTransparent(
IReadWriteBitmapData^ bitmapData,
AsyncConfig^ asyncConfig = nullptr
)
[<ExtensionAttribute>]
static member BeginMakeTransparent :
bitmapData : IReadWriteBitmapData *
?asyncConfig : AsyncConfig
(* Defaults:
let _asyncConfig = defaultArg asyncConfig null
*)
-> IAsyncResult
In .NET Framework 4.0 and above you can use also the MakeTransparentAsync(IReadWriteBitmapData, TaskConfig) method.
To finish the operation and to get the exception that occurred during the operation you have to call the EndMakeTransparent method.
This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.