MessageQueue.GetSecurityContext MessageQueue.GetSecurityContext MessageQueue.GetSecurityContext MessageQueue.GetSecurityContext Method

Definition

Retrieves the security context that MSMQ associates with the current user (thread identity) at the time of this call.

public:
 static System::Messaging::SecurityContext ^ GetSecurityContext();
public static System.Messaging.SecurityContext GetSecurityContext ();
static member GetSecurityContext : unit -> System.Messaging.SecurityContext
Public Shared Function GetSecurityContext () As SecurityContext

Returns

A SecurityContext object that contains the security context.

Applies to

See also