Redigera

Dela via


SmtpPermission.ToXml Method

Definition

Creates an XML encoding of the state of the permission.

public:
 override System::Security::SecurityElement ^ ToXml();
public override System.Security.SecurityElement ToXml ();
override this.ToXml : unit -> System.Security.SecurityElement
Public Overrides Function ToXml () As SecurityElement

Returns

A SecurityElement that contains an XML encoding of the current permission.

Remarks

This method is used by the security system and is not normally called by application code.

Applies to