Share via


JobRouterModelFactory.RouterJobNote Method

Definition

Initializes a new instance of RouterJobNote.

public static Azure.Communication.JobRouter.RouterJobNote RouterJobNote (string message = default, DateTimeOffset? addedAt = default);
static member RouterJobNote : string * Nullable<DateTimeOffset> -> Azure.Communication.JobRouter.RouterJobNote
Public Shared Function RouterJobNote (Optional message As String = Nothing, Optional addedAt As Nullable(Of DateTimeOffset) = Nothing) As RouterJobNote

Parameters

message
String

The message contained in the note.

addedAt
Nullable<DateTimeOffset>

The time at which the note was added in UTC. If not provided, will default to the current time.

Returns

A new RouterJobNote instance for mocking.

Applies to