Share via


Message.CloneBase Method ()

 

Creates a clone of a 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.

Note: If you're considering this method, ensure that you have evaluated CloneByRef which you might want to use instead.

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

Syntax

public IMessage CloneBase()
public:
virtual IMessage^ CloneBase() sealed
Public Function CloneBase As IMessage

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessage

A cloned instance of the message.

Implements

IMessage.CloneBase()

See Also

Message Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top