ExpansionDownloader.Service.DownloaderService.OnCreate C# (CSharp) Method

OnCreate() public method

The on create.
public OnCreate ( ) : void
return void
        public override void OnCreate()
        {
            base.OnCreate();
            try
            {
                this.packageInfo = this.PackageManager.GetPackageInfo(this.PackageName, 0);
                string applicationLabel = this.PackageManager.GetApplicationLabel(this.ApplicationInfo);
                this.downloadNotification = new DownloadNotification(this, applicationLabel);
            }
            catch (PackageManager.NameNotFoundException e)
            {
                Log.Error(Tag, e, "Oh oh!");
            }
        }