Back to API Home
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)
Retrieves an instance of the Project class specified by its ID.
Namespace: Dundas.Dashboard.BusinessAssembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)
Syntax
C# |
---|
public static void GetAsync( Guid id, OnCompleted<Project> callback ) |
Visual Basic |
---|
Public Shared Sub GetAsync ( id As Guid, callback As OnCompleted(Of Project) ) |
Parameters
- id
- Type: System..::..Guid
ID of the project to retrieve.
- callback
- Type: Dundas.Dashboard..::..OnCompleted<(Of <(<'Project>)>)>
The callback for handling the completion event.
Exceptions
Exception | Condition |
---|---|
Dundas.Dashboard..::..ObjectNotFoundException | The project does not exist. |
Dundas.Dashboard..::..NoPrivilegeException | No privilege for attempted operation. |
Dundas.Dashboard..::..InvalidArgumentException | A callback delegate must be specified. |
Dundas.Dashboard..::..InvalidSessionException | Your session is no longer valid. |