NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessageQueue.Send (Object, String)

Sends an object to the queue referenced by this MessageQueue. The object will be serialized using the formatter provided.

[Visual Basic]
Overloads Overridable Public Sub Send( _
   ByVal obj As Object, _
   ByVal label As String _
)
[C#]
public virtual void Send(
   object obj,
   string label
);
[C++]
public: virtual void Send(
   Object* obj,
   String* label
);
[JScript]
public function Send(
   obj : Object,
   label : String
);

Parameters

obj
The object to send to the queue.
label
The label of the message to send.

Exceptions

Exception Type Condition
MessageQueueException The attempt to retrieve queue information generated an exception specified by the given status.

See Also

MessageQueue Class | MessageQueue Members | System.Messaging Namespace | MessageQueue.Send Overload List