Szerkesztés

Megosztás a következőn keresztül:


MessageHeaders.CopyHeadersFrom Method

Definition

Copies the content of all the headers from a specified object to this instance.

Overloads

CopyHeadersFrom(MessageHeaders)

Copies the content from the specified header collection to this instance.

CopyHeadersFrom(Message)

Copies the content of all the headers from the specified message to this instance.

CopyHeadersFrom(MessageHeaders)

Source:
MessageHeaders.cs
Source:
MessageHeaders.cs
Source:
MessageHeaders.cs

Copies the content from the specified header collection to this instance.

public:
 void CopyHeadersFrom(System::ServiceModel::Channels::MessageHeaders ^ collection);
public void CopyHeadersFrom (System.ServiceModel.Channels.MessageHeaders collection);
member this.CopyHeadersFrom : System.ServiceModel.Channels.MessageHeaders -> unit
Public Sub CopyHeadersFrom (collection As MessageHeaders)

Parameters

collection
MessageHeaders

A MessageHeaders collection object from which the headers are copied to this instance.

Applies to

CopyHeadersFrom(Message)

Source:
MessageHeaders.cs
Source:
MessageHeaders.cs
Source:
MessageHeaders.cs

Copies the content of all the headers from the specified message to this instance.

public:
 void CopyHeadersFrom(System::ServiceModel::Channels::Message ^ message);
public void CopyHeadersFrom (System.ServiceModel.Channels.Message message);
member this.CopyHeadersFrom : System.ServiceModel.Channels.Message -> unit
Public Sub CopyHeadersFrom (message As Message)

Parameters

message
Message

A message from which the headers are copied from.

Applies to