67 references to HandleInheritability
System.Core (67)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (30)
64
return OpenExisting(mapName, MemoryMappedFileRights.ReadWrite,
HandleInheritability
.None);
68
return OpenExisting(mapName, desiredAccessRights,
HandleInheritability
.None);
74
HandleInheritability
inheritability) {
84
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
172
handle = CreateCore(fileStream.SafeFileHandle, mapName,
HandleInheritability
.None, null,
186
HandleInheritability
inheritability, bool leaveOpen) {
194
HandleInheritability
inheritability, bool leaveOpen) {
225
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
251
HandleInheritability
.None);
256
HandleInheritability
.None);
261
HandleInheritability
inheritability) {
269
HandleInheritability
inheritability) {
296
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
312
MemoryMappedFileOptions.None, null,
HandleInheritability
.None);
317
return CreateOrOpen(mapName, capacity, access, MemoryMappedFileOptions.None, null,
HandleInheritability
.None);
322
HandleInheritability
inheritability) {
331
HandleInheritability
inheritability) {
358
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
380
HandleInheritability
inheritability,
420
private static SafeMemoryMappedFileHandle OpenCore(String mapName,
HandleInheritability
inheritability,
424
(inheritability &
HandleInheritability
.Inheritable) != 0, mapName);
455
HandleInheritability
inheritability,
498
HandleInheritability
.Inheritable) != 0, mapName);
776
private unsafe static UnsafeNativeMethods.SECURITY_ATTRIBUTES GetSecAttrs(
HandleInheritability
inheritability,
781
if ((inheritability &
HandleInheritability
.Inheritable) != 0 ||
786
if ((inheritability &
HandleInheritability
.Inheritable) != 0) {
System\IO\Pipes\Pipe.cs (32)
49
: this(PipeDirection.Out,
HandleInheritability
.None, 0, null) { }
54
: this(direction,
HandleInheritability
.None, 0) { }
58
public AnonymousPipeServerStream(PipeDirection direction,
HandleInheritability
inheritability)
65
public AnonymousPipeServerStream(PipeDirection direction,
HandleInheritability
inheritability, int bufferSize)
70
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
82
public AnonymousPipeServerStream(PipeDirection direction,
HandleInheritability
inheritability, int bufferSize, PipeSecurity pipeSecurity)
87
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
391
HandleInheritability
.None, (PipeAccessRights)0) { }
397
HandleInheritability
.None, (PipeAccessRights)0) { }
403
0, 0, null,
HandleInheritability
.None, (PipeAccessRights)0) { }
410
null,
HandleInheritability
.None, (PipeAccessRights)0) { }
417
null,
HandleInheritability
.None, (PipeAccessRights)0) { }
424
null,
HandleInheritability
.None, (PipeAccessRights)0) { }
432
pipeSecurity,
HandleInheritability
.None, (PipeAccessRights)0) { }
438
PipeSecurity pipeSecurity,
HandleInheritability
inheritability)
473
PipeSecurity pipeSecurity,
HandleInheritability
inheritability, PipeAccessRights additionalAccessRights)
492
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
986
private
HandleInheritability
m_inheritability;
993
: this(".", pipeName, PipeDirection.InOut, PipeOptions.None, TokenImpersonationLevel.None,
HandleInheritability
.None) { }
998
: this(serverName, pipeName, PipeDirection.InOut, PipeOptions.None, TokenImpersonationLevel.None,
HandleInheritability
.None) { }
1003
: this(serverName, pipeName, direction, PipeOptions.None, TokenImpersonationLevel.None,
HandleInheritability
.None) { }
1009
: this(serverName, pipeName, direction, options, TokenImpersonationLevel.None,
HandleInheritability
.None) { }
1015
: this(serverName, pipeName, direction, options, impersonationLevel,
HandleInheritability
.None) { }
1020
PipeOptions options, TokenImpersonationLevel impersonationLevel,
HandleInheritability
inheritability)
1041
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
1069
PipeOptions options, TokenImpersonationLevel impersonationLevel,
HandleInheritability
inheritability)
1090
if (inheritability <
HandleInheritability
.None || inheritability >
HandleInheritability
.Inheritable) {
System\IO\Pipes\PipeStream.cs (5)
1182
internal unsafe static UnsafeNativeMethods.SECURITY_ATTRIBUTES GetSecAttrs(
HandleInheritability
inheritability, PipeSecurity pipeSecurity, out Object pinningHandle) {
1185
if ((inheritability &
HandleInheritability
.Inheritable) != 0 || pipeSecurity != null) {
1189
if ((inheritability &
HandleInheritability
.Inheritable) != 0) {
1206
internal static UnsafeNativeMethods.SECURITY_ATTRIBUTES GetSecAttrs(
HandleInheritability
inheritability) {
1208
if ((inheritability &
HandleInheritability
.Inheritable) != 0) {