DotMSN

NetworkMessage.PrepareMessage Method 

Prepares the messages before it is sended. Some messageobjects will set properties in their 'parent' messageobject in this method. This method is automatically called for the inner message object, if present.

[Visual Basic]
Overridable Public Sub PrepareMessage()
[C#]
public virtual void PrepareMessage();

Remarks

Called before the message data is retrieved by calling the GetBytes method.

See Also

NetworkMessage Class | XihSolutions.DotMSN.Core Namespace