EntityExtension.Subscribe - Méthode (EntityEventType, NotificationCallback, 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, _
subscriberName As String, _
lobSystemInstance As ILobSystemInstance _
) As Subscription
'Utilisation
Dim instance As EntityExtension
Dim eventType As EntityEventType
Dim notificationCallback As NotificationCallback
Dim subscriberName As String
Dim lobSystemInstance As ILobSystemInstance
Dim returnValue As Subscription
returnValue = instance.Subscribe(eventType, _
notificationCallback, subscriberName, _
lobSystemInstance)
public Subscription Subscribe(
EntityEventType eventType,
NotificationCallback notificationCallback,
string subscriberName,
ILobSystemInstance lobSystemInstance
)
Paramètres
- eventType
Type : Microsoft.BusinessData.Runtime.EntityEventType
- notificationCallback
Type : Microsoft.BusinessData.Runtime.NotificationCallback
- subscriberName
Type : System.String
- lobSystemInstance
Type : Microsoft.BusinessData.MetadataModel.ILobSystemInstance
Valeur renvoyée
Type : Microsoft.BusinessData.Runtime.Subscription