Skip to main content

Struct NetworkDiagnostics.MessageInfo

Describes an outgoing message

Syntax
public struct MessageInfo

Constructors

MessageInfo(Object, Int32, Int32)

Declaration
public MessageInfo(object message, int bytes, int count)
Parameters
TypeNameDescription
System.Objectmessage
System.Int32bytes
System.Int32count

Fields

message

The message being sent

Declaration
public readonly object message

bytes

how big was the message (does not include transport headers)

Declaration
public readonly int bytes

count

How many connections was the message sent to If an object has a lot of observers this count could be high

Declaration
public readonly int count