CFMessagePort.CFMessagePortCallBack Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.