System\ServiceModel\ServiceHostingEnvironment.cs (17)
484if (!HostingEnvironmentWrapper.IsHosted)
521HostingEnvironmentWrapper.UnsafeApplicationID, 0, ISAPIApplicationIdPrefix.Length, StringComparison.OrdinalIgnoreCase) != 0);
535processedVirtualPath = VirtualPathUtility.ToAppRelative(virtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath);
547SR2.Hosting_AddressPointsOutsideTheVirtualDirectory(virtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath));
844&& !HostingEnvironmentWrapper.ServiceFileExists(normalizedVirtualPath))
849VirtualPathUtility.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath))));
915new StringTraceRecord("VirtualPath", VirtualPathUtility.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath)), this, (Exception)null);
947lastException = new ServiceActivationException(SR2.Hosting_ServiceCannotBeActivated(VirtualPathUtility.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath), ex.Message), ex);
964lastException = new ServiceActivationException(SR2.Hosting_ServiceCannotBeActivated(VirtualPathUtility.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath), ex.Message), ex);
1087unsafeImpersonate = HostingEnvironmentWrapper.UnsafeImpersonate();
1122unsafeImpersonate = HostingEnvironmentWrapper.UnsafeImpersonate();
1228string fileName = HostingEnvironmentWrapper.GetServiceFile(normalizedVirtualPath).Name;
1419HostingEnvironmentWrapper.ApplicationVirtualPath));
1537new StringTraceRecord("VirtualPath", VirtualPathUtility.ToAbsolute(virtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath)),
1547HostingEnvironmentWrapper.UnsafeRegisterObject(this);
1561HostingEnvironmentWrapper.UnsafeUnregisterObject(this);
1929if (HostingEnvironmentWrapper.ServiceFileExists(path))