UrlTask Constructor (Guid, String, Uri)
Initializes a new instance of the UrlTask class with the specified identifier, display name, and the specified URL.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public UrlTask(
Guid id,
string displayName,
Uri url
)
public:
UrlTask(
Guid id,
String^ displayName,
Uri^ url
)
Public Sub New (
id As Guid,
displayName As String,
url As Uri
)
Parameters
id
Type: System.GuidThe unique identifier of the task.
displayName
Type: System.StringThe name that is displayed for the task.
url
Type: System.UriA URL that is accessed in the Web browser.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Id, displayName or url is not valid. |
ArgumentNullException | Id, displayName or url is null. |
Remarks
After a task has been initialized, it must be added to a TaskCollection to be included in the task pane of the Dashboard.
See Also
UrlTask Overload
UrlTask Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top