WriteRaftItem(RaftItemType type, string name, string content, System.DateTimeOffset? timestamp, string userName) Method

Creates or updates the raft item with the specified type, name, and content. If the item already exists, it is overwritten.

Syntax

public virtual void WriteRaftItem(RaftItemType type, string name, string content, System.DateTimeOffset? timestamp, string userName)

Parameters

type
Type: RaftItemType

The type.

name
Type: string

The full name of the item.

content
Type: string

The content of the item.

timestamp
Type: System.DateTimeOffset?

If specified, this value will be used as the item's timestamp if supported by the raft.

userName
Type: string

If specified, this value will be used as the item's updated user if supported by the raft.