TaskExtensions Class

Extension methods for a task.

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.MediaServices.Client.TaskExtensions

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class TaskExtensions
'Usage
public static class TaskExtensions
[ExtensionAttribute]
public ref class TaskExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type TaskExtensions =  class end
public final class TaskExtensions

The TaskExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member ThrowIfCancellationRequested Throws an exception if cancellation was requested.
Public methodStatic member ThrowIfFaulted(Task) Throws an exception if the task faulted.
Public methodStatic member ThrowIfFaulted(Task, Action) Throws an exception if the task faulted.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace