IEWSClientCreateTask Method (String, ExchangeTask)

Creates the given task in the specified folder.

Namespace:  Aspose.Email.Clients.Exchange.WebService
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.11
Syntax
string CreateTask(
	string folder,
	ExchangeTask task
)

Parameters

folder
Type: SystemString
A folder where task should be created.
task
Type: Aspose.Email.Clients.Exchange.WebServiceExchangeTask
A task to create.

Return Value

Type: String
A task uri
Exceptions
ExceptionCondition
AsposeArgumentExceptionfolder is null or empty.
AsposeArgumentNullExceptiontask is null.
See Also