Partager via


EntityExtension.Subscribe - Méthode (EntityEventType, NotificationCallback, String, String, ILobSystemInstance)

Espace de noms :  Microsoft.BusinessData.MetadataModel
Assembly :  Microsoft.BusinessData (dans Microsoft.BusinessData.dll)

Syntaxe

'Déclaration
Public Function Subscribe ( _
    eventType As EntityEventType, _
    notificationCallback As NotificationCallback, _
    onBehalfOfUser As String, _
    subscriberName As String, _
    lobSystemInstance As ILobSystemInstance _
) As Subscription
'Utilisation
Dim instance As EntityExtension
Dim eventType As EntityEventType
Dim notificationCallback As NotificationCallback
Dim onBehalfOfUser As String
Dim subscriberName As String
Dim lobSystemInstance As ILobSystemInstance
Dim returnValue As Subscription

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

Paramètres

Valeur renvoyée

Type : Microsoft.BusinessData.Runtime.Subscription

Voir aussi

Référence

EntityExtension classe

EntityExtension - Membres

Subscribe - Surcharge

Microsoft.BusinessData.MetadataModel - Espace de noms