BitmapDataFactoryEndLoad Method

Waits for the pending asynchronous operation started by the BeginLoad method to complete. In .NET Framework 4.0 and above you can use the LoadAsync method instead.


Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.1.0
public static IReadWriteBitmapData? EndLoad(
	IAsyncResult asyncResult


asyncResult  IAsyncResult
The reference to the pending asynchronous request to finish.

Return Value

An IReadWriteBitmapData instance that is the result of the operation, or , if the operation was canceled and the ThrowIfCanceled property of the asyncConfig parameter was .

See Also