Table of Contents

Class TaskEndNotificationArgs

Namespace
Dynamicweb.Scheduling.Notifications
Assembly
Dynamicweb.Core.dll

Provides information about the scheduled task.

public class TaskEndNotificationArgs : NotificationArgs
Inheritance
TaskEndNotificationArgs
Inherited Members

Constructors

TaskEndNotificationArgs(string, Exception)

Creates a new instance of a class.

public TaskEndNotificationArgs(string taskName, Exception exception)

Parameters

taskName string

The task name.

exception Exception

The task exception.

TaskEndNotificationArgs(string, string)

Creates a new instance of a class.

public TaskEndNotificationArgs(string taskName, string resultMessage)

Parameters

taskName string

The task name.

resultMessage string

The task result.

Properties

Exception

Gets the task exception.

public Exception? Exception { get; }

Property Value

Exception

ResultMessage

Gets the task result.

public string? ResultMessage { get; }

Property Value

string

TaskName

Gets the task name.

public string TaskName { get; }

Property Value

string
To top