Language

CFMessagePort.CFMessagePortCallBack Delegate

Definition

Handles a message received by a local message port.

public delegate Foundation.NSData CFMessagePort.CFMessagePortCallBack(int type, NSData data);
type CFMessagePort.CFMessagePortCallBack = delegate of int * NSData -> NSData

Parameters

type
Int32

The application-defined message identifier.

data
NSData

The message data.

Return Value

The data to return to the sender.

Remarks

The data object is only valid for the duration of the callback. Copy it if it must be retained after the callback returns.

Applies to