NetTcpSecurity.Message Property
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.
Gets the type of message-level security requirements for a service configured with a NetTcpBinding.
public:
property System::ServiceModel::MessageSecurityOverTcp ^ Message { System::ServiceModel::MessageSecurityOverTcp ^ get(); void set(System::ServiceModel::MessageSecurityOverTcp ^ value); };
public:
property System::ServiceModel::MessageSecurityOverTcp ^ Message { System::ServiceModel::MessageSecurityOverTcp ^ get(); };
public System.ServiceModel.MessageSecurityOverTcp Message { get; set; }
public System.ServiceModel.MessageSecurityOverTcp Message { get; }
member this.Message : System.ServiceModel.MessageSecurityOverTcp with get, set
member this.Message : System.ServiceModel.MessageSecurityOverTcp
Public Property Message As MessageSecurityOverTcp
Public ReadOnly Property Message As MessageSecurityOverTcp
Property Value
The MessageSecurityOverTcp that indicates the type of message-level security requirements for an endpoint.
Examples
NetTcpSecurity security = binding.Security;
MessageSecurityOverTcp msTcp = security.Message;
Console.WriteLine("Dumping NetTcpSecurity object:");
Console.WriteLine("\tMessageSecurityOverTcp:");
Console.WriteLine("\t\tAlgorithm Suite: {0}", msTcp.AlgorithmSuite);
Console.WriteLine("\t\tClient Credential Type: {0}", msTcp.ClientCredentialType);
Remarks
Message uses message-level security for the integrity and confidentiality of the SOAP message and for mutual authentication of the communication peers. If this security mode is selected on a binding, the channel stack is configured with message security binding elements and the SOAP messages are secured in compliance with WS-Security* standards.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기