BitmapDataExtensionsEndGetColorCount Method
Waits for the pending asynchronous operation started by the
BeginGetColorCount method to complete.
In .NET Framework 4.0 and above you can use the
GetColorCountAsync method instead.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.0.0-preview.1
public static int EndGetColorCount(
this IAsyncResult asyncResult
)
<ExtensionAttribute>
Public Shared Function EndGetColorCount (
asyncResult As IAsyncResult
) As Integer
public:
[ExtensionAttribute]
static int EndGetColorCount(
IAsyncResult^ asyncResult
)
[<ExtensionAttribute>]
static member EndGetColorCount :
asyncResult : IAsyncResult -> int
- asyncResult IAsyncResult
- The reference to the pending asynchronous request to finish.
Int32An
int value that is the result of the operation,
or
0, if the operation was canceled and the
ThrowIfCanceled property of the
asyncConfig parameter was
.In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncResult. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).