Compartir a través de


ServiceContractEvents Miembros

The ServiceContractEvents object represents the settings required for SQL Server service contract event notification.

El tipo ServiceContractEvents expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetEventSelection Returns the currently selected event notifications.
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico StartEvents Starts receiving events.
Método publico StopEvents Stops receiving events.
Método publico SubscribeToEvents(ObjectEventSet) Specifies the service contract events to receive.
Método publico SubscribeToEvents(ObjectEventSet, ServerEventHandler) Specifies the service contract events to receive and the event handler that handles the events.
Método publico ToString (Se hereda de Object).
Método publico UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
Método publico UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

Principio

Eventos

  Nombre Descripción
Evento público ServerEvent Specifies the event raised when an event occurs in ServiceContract object and the user subscribed to the events from that object instance.

Principio