System.Messaging Reference (Document! X Sample)



ToXml Method
When overridden in a derived class, creates an XML encoding of the security object and its current state.
Syntax
'Declaration
 
Public Overrides NotOverridable Function ToXml() As SecurityElement
'Usage
 
Dim instance As MessageQueuePermission
Dim value As SecurityElement
 
value = instance.ToXml()
public override SecurityElement ToXml()
public:
SecurityElement^ ToXml(); override 

Return Value

An XML encoding of the security object, including any state information.
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

Reference

MessageQueuePermission Class
MessageQueuePermission Members
Base Implementation in ToXml