Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BrokeredMessage Constructor (Object, XmlObjectSerializer)

BrokeredMessage Constructor (Object, XmlObjectSerializer)

 

Initializes a new instance of the BrokeredMessage class from a given object using the provided XmlObjectSerializer.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Public Sub New (
	serializableObject As Object,
	serializer As XmlObjectSerializer
)

Parameters

serializableObject
Type: System.Object

The serializable object.

serializer
Type: System.Runtime.Serialization.XmlObjectSerializer

The serializer object.

You should be aware of the exceptions that the provided Serializer can throw and take appropriate actions. See http://msdn.microsoft.com/library/ms574055.aspx for a list of possible exceptions and their causes.

Return to top
Show:
© 2015 Microsoft