IAsyncEwsClient.CreatePublicFolderAsync

CreatePublicFolderAsync(string, ExchangeFolderPermissionCollection, ExchangeFolderType, string, CancellationToken)

Creates the specified public folder in the root public folder

public Task<ExchangeFolderInfo> CreatePublicFolderAsync(string name, 
    ExchangeFolderPermissionCollection permissions, ExchangeFolderType folderType, 
    string parentFolderUri = null, CancellationToken cancellationToken = default)
ParameterTypeDescription
nameStringA name of new folder
permissionsExchangeFolderPermissionCollectionA permission on new folder
folderTypeExchangeFolderTypeType of folder
parentFolderUriStringThe URI of parent folder
cancellationTokenCancellationTokenThe cancellation token.

Return Value

Returns folder information

See Also


CreatePublicFolderAsync(string, ExchangeFolderPermissionCollection, string, CancellationToken)

Creates the specified public folder in the root public folder

public Task<ExchangeFolderInfo> CreatePublicFolderAsync(string name, 
    ExchangeFolderPermissionCollection permissions, string parentFolderUri = null, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
nameStringA name of new folder
permissionsExchangeFolderPermissionCollectionA permission on new folder
parentFolderUriStringThe URI of parent folder
cancellationTokenCancellationTokenThe cancellation token.

Return Value

Returns folder information

See Also