public static IAsyncResult BeginLoad(
Stream stream,
WorkingColorSpace workingColorSpace,
AsyncConfig? asyncConfig = null
)Public Shared Function BeginLoad (
stream As Stream,
workingColorSpace As WorkingColorSpace,
Optional asyncConfig As AsyncConfig = Nothing
) As IAsyncResultpublic:
static IAsyncResult^ BeginLoad(
Stream^ stream,
WorkingColorSpace workingColorSpace,
AsyncConfig^ asyncConfig = nullptr
)static member BeginLoad :
stream : Stream *
workingColorSpace : WorkingColorSpace *
?asyncConfig : AsyncConfig
(* Defaults:
let _asyncConfig = defaultArg asyncConfig null
*)
-> IAsyncResult In .NET Framework 4.0 and above you can use also the LoadAsync method.
To finish the operation and to get the exception that occurred during the operation you have to call the EndLoad method.
This method is not a blocking call, though the operation is not parallelized and the MaxDegreeOfParallelism property of the asyncConfig parameter is ignored.