1 instantiation of AppContainerInfo
System.ServiceModel (1)
System\ServiceModel\Channels\AppContainerInfo.cs (1)
102
return new
AppContainerInfo
(appSession, namedObjectPath);
22 references to AppContainerInfo
System.ServiceModel (22)
System\ServiceModel\Channels\AppContainerInfo.cs (11)
68
isRunningInAppContainer =
AppContainerInfo
.RunningInAppContainer();
82
internal static
AppContainerInfo
CreateAppContainerInfo(string fullName, int sessionId)
94
currentSessionId =
AppContainerInfo
.GetCurrentSessionId();
101
string namedObjectPath =
AppContainerInfo
.GetAppContainerNamedObjectPath(fullName);
111
Fx.Assert(
AppContainerInfo
.IsAppContainerSupported, "AppContainers are not supported.");
121
tokenHandle =
AppContainerInfo
.GetCurrentProcessToken();
142
Fx.Assert(
AppContainerInfo
.IsAppContainerSupported, "AppContainers are not supported.");
146
tokenHandle =
AppContainerInfo
.GetCurrentProcessToken();
167
Fx.Assert(
AppContainerInfo
.IsAppContainerSupported, "AppContainers are not supported.");
225
Fx.Assert(
AppContainerInfo
.IsAppContainerSupported, "AppContainers are not supported.");
229
tokenHandle =
AppContainerInfo
.GetCurrentProcessToken();
System\ServiceModel\Channels\ApplicationContainerSettings.cs (1)
72
if (
AppContainerInfo
.IsAppContainerSupported && this.TargetingAppContainer)
System\ServiceModel\Channels\PipeConnection.cs (9)
1682
AppContainerInfo
appInfo = GetAppContainerInfo(transportFactorySettings);
1867
static
AppContainerInfo
GetAppContainerInfo(IPipeTransportFactorySettings transportFactorySettings)
1869
if (
AppContainerInfo
.IsAppContainerSupported &&
1876
return
AppContainerInfo
.CreateAppContainerInfo(appSettings.PackageFullName, appSettings.SessionId);
2450
if (
AppContainerInfo
.IsRunningInAppContainer)
2456
AppContainerInfo
.GetCurrentAppContainerSid(),
2673
internal string GetPipeName(
AppContainerInfo
appInfo)
2740
return (
AppContainerInfo
.IsRunningInAppContainer ? PipeLocalPrefix : PipePrefix) + pipeGuid;
2774
internal static string BuildSharedMemoryName(string hostName, string path, bool global,
AppContainerInfo
appContainerInfo)
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
331
if (System.ServiceModel.Channels.
AppContainerInfo
.IsRunningInAppContainer && evaluationContext.IsMachineLevel)