Show / Hide Table of Contents

Delegate ExecAsyncCallback

A prototype for a callback which asynchronously processes the standard input, standard output and standard error of a command executing in a container.

Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public delegate Task ExecAsyncCallback(Stream stdIn, Stream stdOut, Stream stdErr)
Parameters
Type Name Description
Stream stdIn

The standard input stream of the process.

Stream stdOut

The standard output stream of the process.

Stream stdErr

The standard error stream of the remote process.

Returns
Type Description
Task

A Task which represents the asynchronous processing of the process input, output and error streams. This task should complete once you're done interacting with the remote process.

Constructors

View Source

ExecAsyncCallback(object, nint)

Declaration
public ExecAsyncCallback(object @object, nint method)
Parameters
Type Name Description
object object
nint method

Methods

View Source

BeginInvoke(Stream, Stream, Stream, AsyncCallback, object)

Declaration
public virtual IAsyncResult BeginInvoke(Stream stdIn, Stream stdOut, Stream stdErr, AsyncCallback callback, object @object)
Parameters
Type Name Description
Stream stdIn
Stream stdOut
Stream stdErr
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult
View Source

EndInvoke(IAsyncResult)

Declaration
public virtual Task EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result
Returns
Type Description
Task
View Source

Invoke(Stream, Stream, Stream)

Declaration
public virtual Task Invoke(Stream stdIn, Stream stdOut, Stream stdErr)
Parameters
Type Name Description
Stream stdIn
Stream stdOut
Stream stdErr
Returns
Type Description
Task
  • View Source
In this article
Back to top Generated by DocFX