IEWSClientCreateFolder Method (String, String)

Creates the new folder with the specified name in the specified parent folder.

Namespace:  Aspose.Email.Clients.Exchange.WebService
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.11
Syntax
ExchangeFolderInfo CreateFolder(
	string parentFolderUri,
	string name
)

Parameters

parentFolderUri
Type: SystemString
An uri of parent folder.
name
Type: SystemString
A name of folder to be created.

Return Value

Type: ExchangeFolderInfo
Exceptions
ExceptionCondition
AsposeArgumentExceptionparentFolderUri or name is null or empty.
See Also