共用方式為


IEventService Interface

Provides support for event subscriptions.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Interface IEventService
public interface IEventService
public interface class IEventService
type IEventService =  interface end
public interface IEventService

The IEventService type exposes the following members.

Methods

  Name Description
Public method EventSubscriptions(String) Obsolete. M:Microsoft.TeamFoundation.Framework.Client.IEventService.GetEventSubscriptions(Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor)
Public method EventSubscriptions(String, String) Obsolete. M:Microsoft.TeamFoundation.Framework.Client.IEventService.GetEventSubscriptions(Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor)
Public method FireAsyncEvent(Object) Obsolete. Obsolete. Use the FireEvent method instead.
Public method FireAsyncEvent(String) Obsolete. Obsolete. Use the FireEvent method instead.
Public method FireBulkAsyncEvents(array<Object[]) Obsolete. Obsolete. Use the FireEvents method instead.
Public method FireBulkAsyncEvents(array<String[]) Obsolete. Obsolete. Use the FireEvents method instead.
Public method FireEvent Schedules an event to be raised by the server to all matching subscribers.
Public method FireEvents Schedules events to be raised by the server to all matching subscribers.
Public method GetAllEventSubscriptions() Gets event subscriptions for all users.
Public method GetAllEventSubscriptions(String) Gets event subscriptions that have the specified classification for all users.
Public method GetEventSubscriptions(String) Gets event subscriptions for the specified user.
Public method GetEventSubscriptions(IdentityDescriptor) Gets event subscriptions for the specified user.
Public method GetEventSubscriptions(String, String) Gets event subscriptions for the specified user and classification.
Public method GetEventSubscriptions(IdentityDescriptor, String) Gets event subscriptions for the specified user and classification.
Public method SubscribeEvent(String, String, DeliveryPreference) Subscribes the caller to an event.
Public method SubscribeEvent(String, String, DeliveryPreference, String) Subscribes the caller to an event.
Public method SubscribeEvent(String, String, String, DeliveryPreference) Subscribes the specified user to the event.
Public method SubscribeEvent(String, String, String, DeliveryPreference, String) Subscribes the specified user to the event.
Public method UnsubscribeEvent Removes the event subscription for the caller.

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace