共用方式為


WorkspaceEventArgs Constructor (Workspace, WorkspaceEventSource)

Initializes a new WorkspaceEventArgs instance for the specified workspace and event source.

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

Syntax

'Declaration
Public Sub New ( _
    workspace As Workspace, _
    eventSource As WorkspaceEventSource _
)
public WorkspaceEventArgs(
    Workspace workspace,
    WorkspaceEventSource eventSource
)
public:
WorkspaceEventArgs(
    Workspace^ workspace, 
    WorkspaceEventSource eventSource
)
new : 
        workspace:Workspace * 
        eventSource:WorkspaceEventSource -> WorkspaceEventArgs
public function WorkspaceEventArgs(
    workspace : Workspace, 
    eventSource : WorkspaceEventSource
)

Parameters

.NET Framework Security

See Also

Reference

WorkspaceEventArgs Class

WorkspaceEventArgs Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace