Share via


TfsConnection.OperationName Property

Gets or sets the name of the operation that is being performed by an application on the server.

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

Syntax

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

Property Value

Type: System.String
Returns String.

Remarks

Setting this property is optional. This property uses thread-local storage. It must be set by each thread in order to be recorded. The operation name must not contain commas nor use any characters that cannot be used in HTTP request headers.

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace