Share via


TfsConnectionWebServiceCallEventArgs Class

The EventArgs object provided to event handlers for the WebServiceCallBegin and WebServiceCallEnd static events on TfsConnection.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.TeamFoundation.Client.TfsConnectionWebServiceCallEventArgs

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

Syntax

'Declaration
Public Class TfsConnectionWebServiceCallEventArgs _
    Inherits EventArgs
public class TfsConnectionWebServiceCallEventArgs : EventArgs
public ref class TfsConnectionWebServiceCallEventArgs : public EventArgs
type TfsConnectionWebServiceCallEventArgs =  
    class 
        inherit EventArgs 
    end
public class TfsConnectionWebServiceCallEventArgs extends EventArgs

The TfsConnectionWebServiceCallEventArgs type exposes the following members.

Constructors

  Name Description
Public method TfsConnectionWebServiceCallEventArgs

Top

Properties

  Name Description
Public property ComponentName The name of the component invoking the web method, if available. If unavailable, the empty string is returned.
Public property Length The length of the request (for request events) or the response (for response events).
Public property MethodName The name of the webmethod being invoked on the target Web service, if available. If unavailable, the empty string is returned.
Public property RequestId The unique request ID for this Web request, which may be used to match the Begin and End events. In rare cases, the value may be zero.
Public property TfsConnection The TfsConnection from which the Web request originated. If unavailable, the value will be null.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Client Namespace