## IGraphClient.CreateTask method

Creates Task in specified folder

```csharp
public MapiTask CreateTask(MapiTask task, string taskListUri)
```

| Parameter | Type | Description |
| --- | --- | --- |
| taskListUri | MapiTask | Parent TaskList uri |
| task | String | MapiTask to be created |

### Return Value

Created MapiTask

### See Also

* class [MapiTask](../../../aspose.email.mapi/mapitask/)
* interface [IGraphClient](../)
* namespace [Aspose.Email.Clients.Graph](../../igraphclient/)
* assembly [Aspose.Email](../../../)


