Compartir a través de


del método Entity.Subscribe

Espacio de nombres:  Microsoft.BusinessData.MetadataModel
Ensamblados:   Microsoft.SharePoint.Client.Silverlight (en Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (en Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (en Microsoft.SharePoint.Client.dll)

Sintaxis

'Declaración
Public Function Subscribe ( _
    eventType As EntityEventType, _
    notificationCallback As NotificationCallback, _
    onBehalfOfUser As String, _
    subscriberName As String, _
    lobSystemInstance As LobSystemInstance _
) As Subscription
'Uso
Dim instance As Entity
Dim eventType As EntityEventType
Dim notificationCallback As NotificationCallback
Dim onBehalfOfUser As String
Dim subscriberName As String
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Subscription

returnValue = instance.Subscribe(eventType, _
    notificationCallback, onBehalfOfUser, _
    subscriberName, lobSystemInstance)
public Subscription Subscribe(
    EntityEventType eventType,
    NotificationCallback notificationCallback,
    string onBehalfOfUser,
    string subscriberName,
    LobSystemInstance lobSystemInstance
)

Parámetros

Valor devuelto

Tipo: Microsoft.BusinessData.Runtime.Subscription

Vea también

Referencia

clase Entity

Miembros Entity

Espacio de nombres Microsoft.BusinessData.MetadataModel