ExchangeServiceBinding.CreateFolder Method

The CreateFolder method sends the request and gets the response to a CreateFolder operation.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateFolder", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
Public Function CreateFolder ( _
    CreateFolder1 As CreateFolderType _
) As CreateFolderResponseType
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
public CreateFolderResponseType CreateFolder (
    CreateFolderType CreateFolder1
)
[SoapHeaderAttribute(L"MailboxCulture")] 
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/CreateFolder", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
public:
CreateFolderResponseType^ CreateFolder (
    CreateFolderType^ CreateFolder1
)
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
public CreateFolderResponseType CreateFolder (
    CreateFolderType CreateFolder1
)
SoapHeaderAttribute("MailboxCulture") 
SoapHeaderAttribute("RequestServerVersionValue") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("ExchangeImpersonation") 
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
public function CreateFolder (
    CreateFolder1 : CreateFolderType
) : CreateFolderResponseType

Parameters

  • CreateFolder1
    An instance of the CreateFolderType class that represents the folders to create.

Return Value

The CreateFolder method returns a CreateFolderResponseType object that contains the identifiers of the created folders.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)