共用方式為


WorkspaceEventArgs.EventSource Property

Gets the source of the workspace event.

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

Syntax

'Declaration
Public ReadOnly Property EventSource As WorkspaceEventSource
public WorkspaceEventSource EventSource { get; }
public:
property WorkspaceEventSource EventSource {
    WorkspaceEventSource get ();
}
member EventSource : WorkspaceEventSource with get
function get EventSource () : WorkspaceEventSource

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceEventSource
The source of the workspace event.

Remarks

Was the event raised as a result of an internal action or raised from an external event (such as a notification from another process on the same desktop)?

.NET Framework Security

See Also

Reference

WorkspaceEventArgs Class

Microsoft.TeamFoundation.VersionControl.Client Namespace