C# Class System.Net.Sockets.SafeOverlappedFree.SafeOverlappedFree

Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Show file Open project: dotnet/corefx

Private Properties

Property Type Description
SafeOverlappedFree Microsoft.Win32.SafeHandles
SafeOverlappedFree Microsoft.Win32.SafeHandles

Public Methods

Method Description
Alloc ( ) : SafeOverlappedFree
Alloc ( SafeCloseSocket socketHandle ) : SafeOverlappedFree
Close ( bool resetOwner ) : void

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Private Methods

Method Description
SafeOverlappedFree ( ) : Microsoft.Win32.SafeHandles
SafeOverlappedFree ( bool ownsHandle ) : Microsoft.Win32.SafeHandles

Method Details

Alloc() public static method

public static Alloc ( ) : SafeOverlappedFree
return SafeOverlappedFree

Alloc() public static method

public static Alloc ( SafeCloseSocket socketHandle ) : SafeOverlappedFree
socketHandle SafeCloseSocket
return SafeOverlappedFree

Close() public method

public Close ( bool resetOwner ) : void
resetOwner bool
return void

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool