共用方式為


PluginHostPackage.OnCreateService Method

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

Syntax

'宣告
Protected MustOverride Function OnCreateService ( _
    container As IServiceContainer, _
    serviceType As Type _
) As Object
protected abstract Object OnCreateService(
    IServiceContainer container,
    Type serviceType
)
protected:
virtual Object^ OnCreateService(
    IServiceContainer^ container, 
    Type^ serviceType
) abstract
abstract OnCreateService : 
        container:IServiceContainer * 
        serviceType:Type -> Object 
protected abstract function OnCreateService(
    container : IServiceContainer, 
    serviceType : Type
) : Object

Parameters

Return Value

Type: System.Object

.NET Framework Security

See Also

Reference

PluginHostPackage Class

Microsoft.TeamFoundation.Common Namespace