Provides access to members that control the properties of a Message.
Members
Name | Description | |
---|---|---|
ErrorInfo | Valid when the message is a fault. | |
Name | Name of the message. | |
NamespaceURI | Namespace of the message. | |
Parameters | Parameters of the message. | |
Properties | Properties of the message. | |
ReadXML | Reads an XML input stream for a message. | |
Result | HRESULT of the Message. | |
SetError | Writes error information. | |
WriteXML | Writes an XML output stream for a message. |
IMessage.ErrorInfo Property
Valid when the message is a fault.
Public ReadOnly Property ErrorInfo As IErrorInfo
public IErrorInfo ErrorInfo {get;}
IMessage.Name Property
Name of the message.
Public Property Name As String
public string Name {get; set;}
IMessage.NamespaceURI Property
Namespace of the message.
Public Property NamespaceURI As String
public string NamespaceURI {get; set;}
IMessage.Parameters Property
Parameters of the message.
Public ReadOnly Property Parameters As IXMLSerializeData
public IXMLSerializeData Parameters {get;}
IMessage.Properties Property
Properties of the message.
Public Property Properties As IPropertySet
public IPropertySet Properties {get; set;}
IMessage.ReadXML Method
Reads an XML input stream for a message.
Public Sub ReadXML ( _
    ByVal Stream As IStream _
)
public void ReadXML (
    IStream Stream
);
IMessage.Result Property
HRESULT of the Message.
Public ReadOnly Property Result As Integer
public int Result {get;}
IMessage.SetError Method
Writes error information.
Public Sub SetError ( _
    ByVal hresult As Integer, _
    ByVal pErrorInfo As IErrorInfo _
)
public void SetError (
    int hresult,
    IErrorInfo pErrorInfo
);
IMessage.WriteXML Method
Writes an XML output stream for a message.
Public Sub WriteXML ( _
    ByVal Stream As IStream _
)
public void WriteXML (
    IStream Stream
);
Classes that implement IMessage
Classes | Description |
---|---|
BinaryMessage | |
Message | A serializable object that represents a request or response message. |