FavoriteConsoleTask(String, ManagementPackConsoleTask) 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 FavoriteConsoleTask.
public:
FavoriteConsoleTask(System::String ^ name, Microsoft::EnterpriseManagement::Configuration::ManagementPackConsoleTask ^ task);
public FavoriteConsoleTask (string name, Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTask task);
new Microsoft.EnterpriseManagement.Monitoring.FavoriteConsoleTask : string * Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTask -> Microsoft.EnterpriseManagement.Monitoring.FavoriteConsoleTask
Public Sub New (name As String, task As ManagementPackConsoleTask)
Parameters
- name
- String
The display name of the favorite task.
The contained task of the favorite task.
Exceptions
name or task is null
name.Length is out of range (1 to 256)