Tip
See the Remarks section of the EncodeAnimation method for more details.
public static Task EncodeAnimationAsync(
AnimatedGifConfiguration configuration,
Stream stream,
TaskConfig? asyncConfig = null
)
Public Shared Function EncodeAnimationAsync (
configuration As AnimatedGifConfiguration,
stream As Stream,
Optional asyncConfig As TaskConfig = Nothing
) As Task
public:
static Task^ EncodeAnimationAsync(
AnimatedGifConfiguration^ configuration,
Stream^ stream,
TaskConfig^ asyncConfig = nullptr
)
static member EncodeAnimationAsync :
configuration : AnimatedGifConfiguration *
stream : Stream *
?asyncConfig : TaskConfig
(* Defaults:
let _asyncConfig = defaultArg asyncConfig null
*)
-> Task
This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.
ArgumentNullException | configuration or stream is . |
ArgumentException | configuration is invalid. |