ExchangeServiceBinding.SubscribeAsync Method (, Object)
Asynchronously subscribes client applications such as Outlook Web Access to either push or pull notifications.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Sub SubscribeAsync ( _
Subscribe1 As SubscribeType, _
userState As Object _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim Subscribe1 As SubscribeType
Dim userState As Object
instance.SubscribeAsync(Subscribe1, userState)
public void SubscribeAsync(
SubscribeType Subscribe1,
Object userState
)
Parameters
- Subscribe1
Type: SubscribeType
- userState
Type: System.Object