Creates a new Memo.

Namespace: ININ.IceLib.Statistics.Alerts
Assembly: ININ.IceLib.Statistics (in ININ.IceLib.Statistics.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public static Memo CreateMemo(
	Session session,
	string messageText,
	string messageName,
	string url,
	bool popupType,
	Icon icon,
	bool canExpire,
	DateTime expiration,
	string soundFile
)
Visual Basic
Public Shared Function CreateMemo ( _
	session As Session, _
	messageText As String, _
	messageName As String, _
	url As String, _
	popupType As Boolean, _
	icon As Icon, _
	canExpire As Boolean, _
	expiration As DateTime, _
	soundFile As String _
) As Memo

Parameters

session
Type: ININ.IceLib.Connection..::..Session
Session object to aid in creation.
messageText
Type: System..::..String
Text of the Memo.
messageName
Type: System..::..String
Name of the Memo.
url
Type: System..::..String
The URL to navigate to, may be nullNothingnullptra null reference (Nothing in Visual Basic).
popupType
Type: System..::..Boolean
Determine if the Memo should show a desktop alert.
icon
Type: System.Drawing..::..Icon
Icon to display.
canExpire
Type: System..::..Boolean
Does this Memo have a vaild expiration.
expiration
Type: System..::..DateTime
Expiration, may be zeroed.
soundFile
Type: System..::..String
Sound to play, may be nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

Newly created Memo.

Remarks

This function is to be used to create a Memo object that can be used to distribute a Memo to the server.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.

See Also