[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This sender uses the MP API for sending messages. The MP API is a legacy COM server that communicates with the management point. It is not recommended to use this sender except for in legacy applications. Several messages do not support this sender and will fail. The HTTP senderrecommended as it takes no COM dependency and supports most message types.

It is not recommended to invoke senders directly. The recommended pattern is to use SendMessage(IMessageSender)for sending/receiving data from the management point.

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

Syntax

                 
  C#     Visual Basic     Visual C++  
[
SerializableAttribute]
public 
sealed 
class 
MPApiSender : 

IMessageSender
<
SerializableAttribute> _
Public 
NotInheritable 
Class 
MPApiSender _
	
Implements 

IMessageSender
[
SerializableAttribute]
public 
ref class 
MPApiSender 
sealed : 

IMessageSender

Members

                             
  All Members     Constructors      Properties      Methods      Events   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
MPApiSender () () () ()
Equals(Object) (Inherited from Object.)
Finalize () () () () (Inherited from Object.)
GetHashCode () () () () (Inherited from Object.)
GetType () () () () (Inherited from Object.)
MemberwiseClone () () () () (Inherited from Object.)
OnReceived
Event that is fied 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 will not fire this event.
OnSend
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.
SendAsync(IMessage)
Send a message and don't get a reply
SendSync(IMessage)
Send the message and retreive the reply
ToString () () () () (Inherited from Object.)
UseDcom
Gets or sets the flag on whether to use DCom versus HTTP to deliver messages to the MP. Defaults to false to use HTTP.

Inheritance Hierarchy

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

See Also