NetMsmqBinding.Security 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 or sets the NetMsmqSecurity that is associated with this binding.
public:
property System::ServiceModel::NetMsmqSecurity ^ Security { System::ServiceModel::NetMsmqSecurity ^ get(); };
public:
property System::ServiceModel::NetMsmqSecurity ^ Security { System::ServiceModel::NetMsmqSecurity ^ get(); void set(System::ServiceModel::NetMsmqSecurity ^ value); };
public System.ServiceModel.NetMsmqSecurity Security { get; }
public System.ServiceModel.NetMsmqSecurity Security { get; set; }
member this.Security : System.ServiceModel.NetMsmqSecurity
member this.Security : System.ServiceModel.NetMsmqSecurity with get, set
Public ReadOnly Property Security As NetMsmqSecurity
Public Property Security As NetMsmqSecurity
Property Value
The NetMsmqSecurity that is associated with this binding.
Examples
The following code shows how to get the NetMsmqSecurity object.
NetMsmqBinding binding = new NetMsmqBinding();
NetMsmqSecurity security = binding.Security;
Remarks
NetMsmqSecurity is an encapsulation of both Message Queuing (MSMQ) transport and SOAP security. It specifies whether transport or SOAP security is enabled and, if so, what authentication mode and protection levels are in use.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기