Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a service host definition using the provided properties.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub CreateServiceHost ( _
    requestContext As TeamFoundationRequestContext, _
    hostProperties As TeamFoundationServiceHostProperties _
)
void CreateServiceHost(
    TeamFoundationRequestContext requestContext,
    TeamFoundationServiceHostProperties hostProperties
)
void CreateServiceHost(
    TeamFoundationRequestContext^ requestContext, 
    TeamFoundationServiceHostProperties^ hostProperties
)
abstract CreateServiceHost : 
        requestContext:TeamFoundationRequestContext * 
        hostProperties:TeamFoundationServiceHostProperties -> unit
function CreateServiceHost(
    requestContext : TeamFoundationRequestContext, 
    hostProperties : TeamFoundationServiceHostProperties
)
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- hostProperties
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHostProperties
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.