다음을 통해 공유


TimeZoneContextType Class

An instance of the TimeZoneContextType class is used as the SOAP header of a request. When this instance is present, the DateTime properties of tasks that are created or updated will be scoped to the time zone that is contained within the TimeZoneContextType instance.

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

Syntax

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

Inheritance Hierarchy

System.Object
   System.Web.Services.Protocols.SoapHeader
    ExchangeWebServices.TimeZoneContextType

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)