Edit

Share via


BackgroundTaskHelper.IsBackgroundTaskRegistered Method

Definition

Overloads

IsBackgroundTaskRegistered(String)

Determines whether a background task is registered.

IsBackgroundTaskRegistered(Type)

Determines whether a background task is registered.

IsBackgroundTaskRegistered(String)

Source:
BackgroundTaskHelper.cs
Source:
BackgroundTaskHelper.cs
Source:
BackgroundTaskHelper.cs

Determines whether a background task is registered.

public static bool IsBackgroundTaskRegistered(string backgroundTaskName);
static member IsBackgroundTaskRegistered : string -> bool
Public Shared Function IsBackgroundTaskRegistered (backgroundTaskName As String) As Boolean

Parameters

backgroundTaskName
String

The name of the background task class

Returns

true if a background task was registered; otherwise, false.

Applies to

IsBackgroundTaskRegistered(Type)

Source:
BackgroundTaskHelper.cs
Source:
BackgroundTaskHelper.cs
Source:
BackgroundTaskHelper.cs

Determines whether a background task is registered.

public static bool IsBackgroundTaskRegistered(Type backgroundTaskType);
static member IsBackgroundTaskRegistered : Type -> bool
Public Shared Function IsBackgroundTaskRegistered (backgroundTaskType As Type) As Boolean

Parameters

backgroundTaskType
Type

The type of the background task. This class has to implement IBackgroundTask

Returns

true if a background task was registered; otherwise, false.

Applies to