|
이 문서는 기계로 번역한 것입니다. 원본 텍스트를 보려면 포인터를 문서의 문장 위로 올리십시오. 추가 정보
|
번역
원본
|
CodeAccessPermission.ToXml 메서드
.NET Framework 4.5
네임스페이스: System.Security
어셈블리: mscorlib(mscorlib.dll)
public override SecurityElement ToXml() { // Use the SecurityElement class to encode the permission to XML. SecurityElement esd = new SecurityElement("IPermission"); String name = typeof( NameIdPermission).AssemblyQualifiedName; esd.AddAttribute("class", name); esd.AddAttribute("version", "1.0"); // The following code for unrestricted permission is only included as an example for // permissions that allow the unrestricted state. It is of no value for this permission. if (m_Unrestricted) { esd.AddAttribute("Unrestricted", true.ToString()); } if (m_Name != null) esd.AddAttribute( "Name", m_Name ); return esd; }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008(서버 코어 역할은 지원되지 않음), Windows Server 2008 R2(서버 코어 역할은 SP1 이상에서 지원, Itanium은 지원되지 않음)
.NET Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.