MessageHeaders.CopyHeadersFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈