Export (0) Print
Expand All
Expand Minimize

ExchangeServiceBinding.CreateItem Method

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

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("TimeZoneContext")] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
public CreateItemResponseType CreateItem (
	CreateItemType CreateItem1
)
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("TimeZoneContext") */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
public CreateItemResponseType CreateItem (
	CreateItemType CreateItem1
)
SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("TimeZoneContext") 
SoapHeaderAttribute("MailboxCulture") 
SoapHeaderAttribute("ExchangeImpersonation") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("RequestServerVersionValue") 
public function CreateItem (
	CreateItem1 : CreateItemType
) : CreateItemResponseType

Parameters

CreateItem1

An instance of the CreateItemType class that represents a set of items to create.

Return Value

The CreateItem method returns a CreateItemResponseType object that contains the status of the CreateItem operation and in many scenarios, the identifiers of the new items.

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

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)
Show:
© 2014 Microsoft