ActiveXMessageFormatter.Clone ActiveXMessageFormatter.Clone ActiveXMessageFormatter.Clone ActiveXMessageFormatter.Clone Method

定義

建立一個和目前 ActiveXMessageFormatter 相同的 ActiveXMessageFormatter 類別的執行個體。Creates an instance of the ActiveXMessageFormatter class that is identical to the current ActiveXMessageFormatter.

public:
 virtual System::Object ^ Clone();
public object Clone ();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Public Function Clone () As Object

傳回

物件的屬性和這個 ActiveXMessageFormatter 的屬性相同。An object whose properties are identical to those of this ActiveXMessageFormatter.

實作

備註

MessageQueue類別會使用這個方法, 以便同時接收多個訊息 (例如, 如果應用程式是以非同步方式接收)。This method is used by the MessageQueue class in order to receive multiple messages at the same time (for example, if the application is receiving asynchronously). 您通常不需要在應用程式的程式碼中呼叫這個方法。You typically do not need to call this method in your application code.

適用於

另請參閱