共用方式為


WorkspaceEventSource Enumeration

Describes the source of a workspace event.

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

Syntax

'Declaration
Public Enumeration WorkspaceEventSource
public enum WorkspaceEventSource
public enum class WorkspaceEventSource
type WorkspaceEventSource
public enum WorkspaceEventSource

Members

Member name Description
External This event was raised by an action that occurred externally (such as through a cross- process notification from the NotificationManager). External events can be received only when the notification manager has been started with NotificationManager.Initialize().

ExternalScanned This event was raised by an action which occurred externally, but not through a cross-process notification -- instead, it was discovered by the local workspace scanner. Events with this source are raised only for local workspaces (Workspace.Location == WorkspaceLocation.Local).

Internal This event was raised by an action that occurred on this VersionControlServer object.

Remarks

Internal: The event was raised by an action that occurred on this VersionControlServer object.

External: The event was raised by an action that occurred externally (that is, from a notification from the NotificationManager).

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace