Add Method
See Also 
SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration Namespace > DeploymentEventLog Class : Add Method



level
The level.
source
The source.
message
The message.
ex
The ex.

Glossary Item Box

Adds the specified level.

Syntax

Visual Basic (Declaration) 
Public Sub Add( _
   ByVal level As LogLevel, _
   ByVal source As String, _
   ByVal message As String, _
   ByVal ex As Exception _
) 
Visual Basic (Usage)Copy Code
Dim instance As DeploymentEventLog
Dim level As LogLevel
Dim source As String
Dim message As String
Dim ex As Exception
 
instance.Add(level, source, message, ex)
C# 
public void Add( 
   LogLevel level,
   string source,
   string message,
   Exception ex
)
C++/CLI 
public:
void Add( 
   LogLevel level,
   String^ source,
   String^ message,
   Exception^ ex
) 

Parameters

level
The level.
source
The source.
message
The message.
ex
The ex.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also