Share via


GettingEventArgs.GetMessage Method

Gets a message that describes this event.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'宣言
Public Function GetMessage ( _
    targetName As String, _
    <OutAttribute> ByRef error As String _
) As String
public string GetMessage(
    string targetName,
    out string error
)
public:
String^ GetMessage(
    String^ targetName, 
    [OutAttribute] String^% error
)
member GetMessage : 
        targetName:string * 
        error:string byref -> string 
public function GetMessage(
    targetName : String, 
    error : String
) : String

Parameters

  • targetName
    Type: System.String
    The path of the target of the get.
  • error
    Type: System.String%
    The error message that is related to this event, if an error occurred.

Return Value

Type: System.String
The message that is returned by a successful action, if any.

.NET Framework Security

See Also

Reference

GettingEventArgs Class

Microsoft.TeamFoundation.VersionControl.Client Namespace