CommandNotificationAction(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.