- Home /
Question by
unity_0kjLy7WDhZPidA · Jan 13, 2020 at 12:16 PM ·
c#async
NamedPipeClientStream.ConnectAsync
This bit of code throws a "The method or operation is not implemented" for the ConnectAsync() method.. any idea why? (should be supported in .Net 2.0 standard: MSDN )
try
{
Debug.Log("Client: Connecting");
Pipe = new NamedPipeClientStream(Host, Name, Direction, Options);
Pipe.ConnectAsync(ConnectionTimeout);
Debug.Log("Client: Connected");
ConnectionEstablished?.Invoke(this, EventArgs.Empty);
}
catch (Exception e)
{
Debug.LogError($"Error: {e.Message}");
}
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
LoadAsync is blocking? 1 Answer
If i use async function, during the await Task.delay() , It starts another task 1 Answer
private async void supported? 0 Answers