Поделиться через


ExchangeServiceBinding.GetDelegate Method

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

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

Syntax

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

Parameters

  • GetDelegate1
    An instance of the GetDelegateType class that represents the request to get a delegate.

Return Value

The GetDelegate method returns a GetDelegateResponseMessageType object that contains a delegate.

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)