TeamFoundationEventLog Constructor (String, Assembly)
Create an instance of the Team Foundation log.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
eventSource As String, _
defaultReportingAssembly As Assembly _
)
public TeamFoundationEventLog(
string eventSource,
Assembly defaultReportingAssembly
)
public:
TeamFoundationEventLog(
String^ eventSource,
Assembly^ defaultReportingAssembly
)
new :
eventSource:string *
defaultReportingAssembly:Assembly -> TeamFoundationEventLog
public function TeamFoundationEventLog(
eventSource : String,
defaultReportingAssembly : Assembly
)
Parameters
eventSource
Type: System.StringThe event source to use when reporting log entries.
defaultReportingAssembly
Type: System.Reflection.AssemblyThe default assembly name to report in log entries. This may be null.
.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.