MessageHeader<T> Constructors
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.
Initializes a new instance of the MessageHeader<T> class.
Overloads
MessageHeader<T>() |
Initializes a new instance of the MessageHeader<T> class. |
MessageHeader<T>(T) |
Initializes a new instance of the MessageHeader<T> class with the specified header content. |
MessageHeader<T>(T, Boolean, String, Boolean) |
Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata. |
MessageHeader<T>()
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
Initializes a new instance of the MessageHeader<T> class.
public:
MessageHeader();
public MessageHeader ();
Public Sub New ()
Applies to
MessageHeader<T>(T)
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
Initializes a new instance of the MessageHeader<T> class with the specified header content.
public:
MessageHeader(T content);
public MessageHeader (T content);
new System.ServiceModel.MessageHeader<'T> : 'T -> System.ServiceModel.MessageHeader<'T>
Public Sub New (content As T)
Parameters
- content
- T
The content of the new header.
Applies to
MessageHeader<T>(T, Boolean, String, Boolean)
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata.
public:
MessageHeader(T content, bool mustUnderstand, System::String ^ actor, bool relay);
public MessageHeader (T content, bool mustUnderstand, string actor, bool relay);
new System.ServiceModel.MessageHeader<'T> : 'T * bool * string * bool -> System.ServiceModel.MessageHeader<'T>
Public Sub New (content As T, mustUnderstand As Boolean, actor As String, relay As Boolean)
Parameters
- content
- T
The content of the new header.
- mustUnderstand
- Boolean
A value that indicates whether the header must be understood.
- actor
- String
The targeted recipient of the message header.
- relay
- Boolean
A value that indicates whether the header should be relayed.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기