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
workspace
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceThe workspace for which to initialize a new event arguments object.
eventSource
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceEventSourceThe event source.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.