UITestExtensionPackage.GetService Method
Visual Studio 2010
Gets the service object type for this UI test package.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Parameters
- serviceType
- Type: System.Type
The Type that specifies the type of service object to get.
Implements
IServiceProvider.GetService(Type)- 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.