Partager via


IMessage.CloneBase Method ()

 

Clones a reference of a message. Use this method to create a copy of an existing message, especially one of a different type, into this message.

Important: This method is not the same as nor does it behave the same as Clone. That is why this message type does not implement ICloneable. It is not recommended that any code outside of Messaging core code use this function without understanding how it works, what its limitations are, and why it's being used.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

IMessage CloneBase()
IMessage^ CloneBase()
Function CloneBase As IMessage

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessage

A cloned reference of the message.

See Also

IMessage Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top