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