ServiceRemotingMessageHeaders Class

Definition

Specifies the headers that are sent along with a ServiceRemoting message.

[System.Runtime.Serialization.DataContract(Name="ServiceMessageHeaders", Namespace="urn:ServiceFabric.Communication")]
public class ServiceRemotingMessageHeaders
type ServiceRemotingMessageHeaders = class
Public Class ServiceRemotingMessageHeaders
Inheritance
System.Object
ServiceRemotingMessageHeaders
Attributes
System.Runtime.Serialization.DataContractAttribute

Constructors

ServiceRemotingMessageHeaders()

Initializes a new instance of the ServiceRemotingMessageHeaders class.

Properties

InterfaceId

Gets or sets the interface id of the remote interface.

InvocationId

Gets or sets the identifier for the remote method invocation.

MethodId

Gets or sets the methodId of the remote method.

Methods

AddHeader(String, Byte[])

Adds a new header with the specified name and value. Throws FabricElementAlreadyExistsException if a header with the same name already exists.

Deserialize(DataContractSerializer, Byte[])

De-serializes the byte array to a ServiceRemotingMessageHeaders object.

Serialize(DataContractSerializer, ServiceRemotingMessageHeaders)

Serializes the headers to a byte array.

TryGetHeaderValue(String, Byte[])

Gets the header with the specified name.

Applies to