Compartir a través de


Format Method (BuildErrorEventArgs)

[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:  Microsoft.Build.Framework
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
<ExtensionAttribute> _
PublicSharedFunctionFormat ( _
    errorAsBuildErrorEventArgs _
) AsString
'Usage
DimerrorAsBuildErrorEventArgsDimreturnValueAsStringreturnValue = error.Format()
publicstaticstringFormat(
    thisBuildErrorEventArgserror
)
[ExtensionAttribute]
public:
staticString^ Format(
    BuildErrorEventArgs^ error
)
publicstaticfunctionFormat(
    error : BuildErrorEventArgs
) : String

Parameters

Return Value

Type: System. . :: . .String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BuildErrorEventArgs. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.85) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.85).

.NET Framework Security

See Also

Reference

BuildEventArgsExtensions Class

BuildEventArgsExtensions Members

Format Overload

Microsoft.Build.Framework Namespace