Log Method (TaskLoggingHelper, String, String, Func(Object, String))
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicOverridableSubLog ( _
loggerAsTaskLoggingHelper, _
errorCodePrefixAsString, _
senderNameAsString, _
argumentProcessorAsFunc(OfObject, String) _
)
'Usage
DiminstanceAsErrorInformationDimloggerAsTaskLoggingHelperDimerrorCodePrefixAsStringDimsenderNameAsStringDimargumentProcessorAsFunc(OfObject, String)
instance.Log(logger, errorCodePrefix, _
senderName, argumentProcessor)
publicvirtualvoidLog(
TaskLoggingHelperlogger,
stringerrorCodePrefix,
stringsenderName,
Func<Object, string> argumentProcessor
)
public:
virtualvoidLog(
TaskLoggingHelper^ logger,
String^ errorCodePrefix,
String^ senderName,
Func<Object^, String^>^ argumentProcessor
)
publicfunctionLog(
logger : TaskLoggingHelper,
errorCodePrefix : String,
senderName : String,
argumentProcessor : Func<Object, String>
)
Parameters
- logger
Type: Microsoft.Build.Utilities. . :: . .TaskLoggingHelper
- errorCodePrefix
Type: System. . :: . .String
- senderName
Type: System. . :: . .String
- argumentProcessor
Type: System. . :: . .Func< (Of < ( <'Object, String> ) > ) >
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).