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
- container
Type: System.ComponentModel.Design.IServiceContainer
- serviceType
Type: System.Type
Return Value
Type: System.Object
.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.