CommandNotificationAction(String, String) Constructor

Definition

Creates a new CommandNotificationAction.

public:
 CommandNotificationAction(System::String ^ name, System::String ^ recipientProtocol);
public CommandNotificationAction (string name, string recipientProtocol);
new Microsoft.EnterpriseManagement.Administration.CommandNotificationAction : string * string -> Microsoft.EnterpriseManagement.Administration.CommandNotificationAction
Public Sub New (name As String, recipientProtocol As String)

Parameters

name
String

The name of this endpoint.

recipientProtocol
String

The recipient protocol.

Exceptions

name/recipientProtocol is null

name/recipientProtocol is empty or name is greater than 256 characters.

Remarks

After initializing a CommandNotificationAction, you can add it to the list of actions for a particular subscription by setting the value of the Actions parameter.

Applies to