Partager via


DataCollectorMessageInfo.AgentName Property

Gets or sets the display name of the agent for the data collector that sent the message.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Property AgentName As String
public string AgentName { get; private set; }
public:
property String^ AgentName {
    String^ get ();
    private: void set (String^ value);
}
member AgentName : string with get, private set
function get AgentName () : String 
private function set AgentName (value : String)

Property Value

Type: String
The display name of the agent for the data collector that sent the message.

.NET Framework Security

See Also

Reference

DataCollectorMessageInfo Class

Microsoft.VisualStudio.TestTools.Common Namespace