Create constructors

Project: I/O Utility Classes

Unit: PJPipe

Class: TPJPipe

Applies to: ~>1.0

constructor Create(const Size: LongWord; const Inheritable: Boolean = True);
  overload;

constructor Create(const Inheritable: Boolean = True);
  overload;

constructor Create(const Size: LongWord; const Security: TSecurityAttributes);
  overload;

constructor Create(const Security: TSecurityAttributes);
  overload;

Description

There are four overloaded constructors, each of which creates a pipe with certain characteristics depending on the parameters.

All versions of the constructor raise EInOutError exceptions if the pipe can’t be created. The exception message includes the reason for failure that was returned from the operating system.