Click or drag to resize
PMAction Constructor
Constructs a new restriction action to be assigned to an object or restriction

Namespace: PM90SettingsAPI.Actions
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public PMAction(
	string message,
	PMActionActionType jobAction,
	bool sendEmail,
	bool sendPopup
)

Parameters

message
Type: SystemString
Message to display to end user, maximum 4000 characters
jobAction
Type: PM90SettingsAPI.ActionsPMActionActionType
Set the action taken on job
sendEmail
Type: SystemBoolean
Send message notification to end user via email
sendPopup
Type: SystemBoolean
Send message notification to end user via popup
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when message exceeds maximum length of 4000
See Also