Table of Contents

Delegate MqttClient.ConnectionClosedRequestEventHandler

Namespace
nanoFramework.M2Mqtt
Assembly
nanoFramework.M2Mqtt.dll

Delegate that defines event handler for server disconnection request

public delegate void MqttClient.ConnectionClosedRequestEventHandler(object sender, ConnectionClosedRequestEventArgs e)

Parameters

sender object
Delegate that defines event handler for server disconnection request
e ConnectionClosedRequestEventArgs
Delegate that defines event handler for server disconnection request
Extension Methods

Constructors

ConnectionClosedRequestEventHandler(object, IntPtr)

public ConnectionClosedRequestEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, ConnectionClosedRequestEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, ConnectionClosedRequestEventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e ConnectionClosedRequestEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, ConnectionClosedRequestEventArgs)

public virtual void Invoke(object sender, ConnectionClosedRequestEventArgs e)

Parameters

sender object
e ConnectionClosedRequestEventArgs