PipeServer.newmethod Method

Definition

Overloads

newmethod(String)

Creates a new instance of the PipeServer class.

newmethod(String, Boolean)

newmethod(String)

Creates a new instance of the PipeServer class.

public:
 void newmethod(System::String ^ text1);
public void newmethod (string text1);
override this.newmethod : string -> unit
Public Sub newmethod (text1 As String)

Parameters

text1
String

Remarks

Some restrictions apply. See the example in the general description of the PipeServer class.

Applies to

newmethod(String, Boolean)

public:
 void newmethod(System::String ^ _pipename, bool _blocking);
public void newmethod (string _pipename, bool _blocking);
override this.newmethod : string * bool -> unit
Public Sub newmethod (_pipename As String, _blocking As Boolean)

Parameters

_pipename
String

A Boolean flag that indicates whether blocking behavior should be used. Non-blocking mode is supported for compatibility with Microsoft LAN Manager version 2.0 and should not be used to achieve asynchronous I/O with named pipes. Instead, a polling technique should be used. See the read method.

_blocking
Boolean

A Boolean flag that indicates whether blocking behavior should be used. Non-blocking mode is supported for compatibility with Microsoft LAN Manager version 2.0 and should not be used to achieve asynchronous I/O with named pipes. Instead, a polling technique should be used. See the read method.

Applies to