Partager via


ExchangeServiceBinding.Subscribe, méthode (Microsoft.SharePoint.Portal.WebControls)

Subscribes client applications such as Outlook Web Access to either push or pull notifications.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/Subscribe", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
Public Function Subscribe ( _
    Subscribe1 As SubscribeType _
) As SubscribeResponseType
'Utilisation
Dim instance As ExchangeServiceBinding
Dim Subscribe1 As SubscribeType
Dim returnValue As SubscribeResponseType

returnValue = instance.Subscribe(Subscribe1)
[SoapHeaderAttribute("MailboxCulture")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/Subscribe", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
public SubscribeResponseType Subscribe (
    SubscribeType Subscribe1
)

Paramètres

  • Subscribe1

Remarques

The structure of the request messages differ depending on the type of event notification.

Voir aussi

Référence

ExchangeServiceBinding, classe
Membres ExchangeServiceBinding
Microsoft.SharePoint.Portal.WebControls, espace de noms