MPApiSender Class

 

This sender uses the management point (MP) API for sending messages. The MP API is a legacy COM server that communicates with the management point. We do not recommended that you use this sender except in legacy applications. Several messages do not support this sender and will fail. Instead, use HttpSender because it takes no COM dependency and supports most message types.

We do not recommended that you invoke senders directly. Instead, use SendMessage for sending and receiving data from the management point.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Sender.MPApi
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

System::Object
  Microsoft.ConfigurationManagement.Messaging.Sender.MPApi::MPApiSender

[SerializableAttribute]
public ref class MPApiSender sealed : IMessageSender

NameDescription
System_CAPS_pubmethodMPApiSender()

Initializes a new instance of the MPApiSender class.

NameDescription
System_CAPS_pubpropertyUseDcom

Gets or sets the flag that indicates whether to use DCom versus HTTP to deliver messages to the management point. The default value is false, and HTTP is used.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSendAsync(IMessage^)

Sends a message but doesn't receive a reply asynchronously.

System_CAPS_pubmethodSendSync(IMessage^)

Sends a message and retrieves the reply synchronously.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventOnReceived

Event that is fired after a message is received. The message contents can be changed before the message is returned to the caller. Only SendSync fires this event; SendAsync does not fire this event.

System_CAPS_pubeventOnSend

Event that is fired before a message is sent. The message contents can be changed before the message is delivered or inspected. Both SendSync and SendAsync fire this event.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: