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.

Definition

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

Parameters

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

Return Value

IReadWriteBitmapData
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