Freigeben über


MethodologyUploadHandler Class

Handles HTTP file uploads from clients.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.WebServices.TeamFoundationHttpHandler
    Microsoft.TeamFoundation.Server.Core.WebServices.FrameworkHttpHandler
      Microsoft.TeamFoundation.Server.Core.WebServices.MethodologyUploadHandler

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Class MethodologyUploadHandler _
    Inherits FrameworkHttpHandler
public class MethodologyUploadHandler : FrameworkHttpHandler
public ref class MethodologyUploadHandler : public FrameworkHttpHandler
type MethodologyUploadHandler =  
    class 
        inherit FrameworkHttpHandler 
    end
public class MethodologyUploadHandler extends FrameworkHttpHandler

The MethodologyUploadHandler type exposes the following members.

Constructors

  Name Description
Public method MethodologyUploadHandler()
Public method MethodologyUploadHandler(HttpContextBase) Testability constructor with explicit HttpContext.

Top

Properties

  Name Description
Protected property HandlerHttpContext The HttpContextBase associated with this web service request. (Inherited from TeamFoundationHttpHandler.)
Public property IsReusable TeamFoundationHttpHandler's are not re-usable. (We want the the constructor above to get called on every request so that members like m_requestContext will be setup for the current request, not the first request we handled.) (Inherited from TeamFoundationHttpHandler.)
Protected property RequestContext The RequestContext associated with this web service request. (Inherited from TeamFoundationHttpHandler.)

Top

Methods

  Name Description
Protected method EnterMethod EnterMethod is used to note the beginning of the Handler to define information about the handler being executed. (Inherited from TeamFoundationHttpHandler.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Execute (Overrides FrameworkHttpHandler.Execute().)
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 HandleException This basic WebService ExceptionHandler captures the exception and records it in the request Context for future logging. Services may choose to over-ride this method, perform some actions based on the exception, changing the exception, eating it or just letting it pass. (Inherited from TeamFoundationHttpHandler.)
Protected method LeaveMethod LeaveMethod should be called as the last piece of code within the execution of the WebMethod's scope. (Inherited from TeamFoundationHttpHandler.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ProcessRequest (Inherited from FrameworkHttpHandler.)
Protected method SetMethodName Sets the method name (does NOT call EnterMethod.) This is meant to be called with the same instance of methodInformation, but without the parameters so that the method is correctly logged in the activity log rather than just its URL. (Inherited from TeamFoundationHttpHandler.)
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.Server.Core.WebServices Namespace