ProvideServiceAttribute Constructor (Object^)
Visual Studio 2015
Initializes a new instance of ProvideServiceAttribute.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- serviceType
-
Type:
System::Object^
[in] The type of the service.
The constructor logic attempts to extract a GUID using the following conversions:
If serviceType is a string, create a new GUID from the string.
If serviceType is a type, extract its GUID.
If serviceType is a GUID, do nothing.
If all of these fail, throw a new ArgumentException.
Show: