Partager via


CancelCalendarItemType Class

The CancelCalendarItemType class represents a cancel response object that is used to cancel a meeting.

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

Syntax

'Declaration
<SerializableAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
<DesignerCategoryAttribute("code")> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/exchange/services/2006/types")> _
Public Class CancelCalendarItemType
    Inherits SmartResponseType
[SerializableAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[DesignerCategoryAttribute("code")] 
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types")] 
public class CancelCalendarItemType : SmartResponseType
[SerializableAttribute] 
[GeneratedCodeAttribute(L"wsdl", L"2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[DesignerCategoryAttribute(L"code")] 
[XmlTypeAttribute(Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types")] 
public ref class CancelCalendarItemType : public SmartResponseType
/** @attribute SerializableAttribute() */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
/** @attribute DebuggerStepThroughAttribute() */ 
/** @attribute DesignerCategoryAttribute("code") */ 
/** @attribute XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") */ 
public class CancelCalendarItemType extends SmartResponseType
SerializableAttribute 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
DebuggerStepThroughAttribute 
DesignerCategoryAttribute("code") 
XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") 
public class CancelCalendarItemType extends SmartResponseType

Remarks

CancelCalendarItemType is used in a CreateItem request to cancel a referenced meeting. Use the ReferenceItemId property to identify the meeting to cancel. The CancelCalendarItemType class is only applicable to the organizer's calendar item.

The CancelCalendarItemTypeBody property has no effect on canceling a meeting. Use the NewBodyContent property to set the message body for a calendar item cancellation.

Inheritance Hierarchy

System.Object
   ExchangeWebServices.ItemType
     ExchangeWebServices.MessageType
       ExchangeWebServices.ResponseObjectCoreType
         ExchangeWebServices.ResponseObjectType
           ExchangeWebServices.SmartResponseBaseType
             ExchangeWebServices.SmartResponseType
              ExchangeWebServices.CancelCalendarItemType

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)