SmtpPermission.FromXml Method
.NET Framework 3.0
Sets the state of the permission using the specified XML encoding.
Namespace: System.Net.Mail
Assembly: System (in system.dll)
Assembly: System (in system.dll)
| Exception type | Condition |
|---|---|
| securityElement does not describe an SmtpPermission object. -or- securityElement does not contain the required state information to reconstruct the permission. | |
| securityElement is a null reference (Nothing in Visual Basic). |
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: