MessageChannel

Overview

The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.

Location

Properties


MessageChannel

 

property MessageChannel: MessageChannel read write;

 

MessageChannel MessageChannel { get; set; }

 

var MessageChannel: MessageChannel { get{} set{} }

 

MessageChannel MessageChannel { __get; __set; }

 

Property MessageChannel() As MessageChannel

port1

 

property port1: MessagePort read;

 

MessagePort port1 { get; }

 

var port1: MessagePort { get{} }

 

MessagePort port1 { __get; }

 

ReadOnly Property port1() As MessagePort

port2

 

property port2: MessagePort read;

 

MessagePort port2 { get; }

 

var port2: MessagePort { get{} }

 

MessagePort port2 { __get; }

 

ReadOnly Property port2() As MessagePort