Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@ -0,0 +1,60 @@
//------------------------------------------------------------------------------
// <copyright file="ApplicationManager.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web.Hosting {
using System;
using System.Collections;
using System.Configuration;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using System.Web;
using System.Web.Configuration;
using System.Web.Util;
[ComImport, Guid("35f9c4c1-3800-4d17-99bc-018a62243687"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[System.Security.SuppressUnmanagedCodeSecurityAttribute]
public interface IProcessHostSupportFunctions {
[SecurityPermission(SecurityAction.LinkDemand, Unrestricted = true)]
[SecurityPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
void GetApplicationProperties(
[In, MarshalAs(UnmanagedType.LPWStr)] String appId,
out String virtualPath,
out String physicalPath,
out String siteName,
out String siteId);
[SecurityPermission(SecurityAction.LinkDemand, Unrestricted = true)]
[SecurityPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
void MapPath(
[In, MarshalAs(UnmanagedType.LPWStr)] String appId,
[In, MarshalAs(UnmanagedType.LPWStr)] String virtualPath,
out String physicalPath);
[SecurityPermission(SecurityAction.LinkDemand, Unrestricted = true)]
[SecurityPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
[return: MarshalAs(UnmanagedType.SysInt)]
IntPtr GetConfigToken(
[In, MarshalAs(UnmanagedType.LPWStr)] String appId);
[SecurityPermission(SecurityAction.LinkDemand, Unrestricted = true)]
[SecurityPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
[return: MarshalAs(UnmanagedType.BStr)]
String GetAppHostConfigFilename();
[SecurityPermission(SecurityAction.LinkDemand, Unrestricted = true)]
[SecurityPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
[return: MarshalAs(UnmanagedType.BStr)]
String GetRootWebConfigFilename();
[SecurityPermission(SecurityAction.LinkDemand, Unrestricted = true)]
[SecurityPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
[return: MarshalAs(UnmanagedType.SysInt)]
IntPtr GetNativeConfigurationSystem();
}
}