Partager via


LanguageService Constructor

Definition

Initializes a new instance of the LanguageService class.

protected:
 LanguageService();
protected:
 LanguageService();
 LanguageService();
protected LanguageService ();
Protected Sub New ()

Examples

using Microsoft.VisualStudio.Package;  
using Microsoft.VisualStudio.Shell;  

namespace MyLanguagePackage  
{  
    [Guid("B614A40A-80D9-4fac-A6AD-FC2868FFF7CD")]  
    public class MyLanguageService : LanguageService  
    {  
        public MyLanguageService()  
            : base()  
        {  
        }  
    }  
}  

Remarks

Remember to call the base class constructor in your derived class's constructor.

Applies to