MsmqMessage<T>.Authenticated 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 a Boolean value that indicates whether the message is authenticated.
public:
property Nullable<bool> Authenticated { Nullable<bool> get(); };
public bool? Authenticated { get; }
member this.Authenticated : Nullable<bool>
Public ReadOnly Property Authenticated As Nullable(Of Boolean)
Property Value
true
if the message is authenticated; otherwise, false
.
Examples
if (message.Authenticated)
Console.WriteLine("Message was authenticated");
If message.Authenticated = True Then
Console.WriteLine("Message was authenticated")
End If
Remarks
A message is authenticated when the sender requests authentication or sends the message to a message queue that is configured to require authentication.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.