System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / Message Class / SecurityContext Property



In This Topic
    SecurityContext Property
    In This Topic
    Gets or sets the security context for a message.
    Syntax
    'Declaration
     
    
    Public Property SecurityContext As SecurityContext
    'Usage
     
    
    Dim instance As Message
    Dim value As SecurityContext
     
    instance.SecurityContext = value
     
    value = instance.SecurityContext
    public SecurityContext SecurityContext {get; set;}
    public:
    property SecurityContext^ SecurityContext {
       SecurityContext^ get();
       void set (    SecurityContext^ value);
    }

    Property Value

    A SecurityContext object that contains the security context for a message, if the property has previously been set; otherwise NULL.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also