SoapServices.XmlNsForClrTypeWithAssembly 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
어셈블리가 있지만 네이티브 네임스페이스가 없는 공용 언어 런타임 클래스의 XML 인코딩에 사용해야 하는 기본 XML 네임스페이스 접두사를 가져옵니다.
public:
static property System::String ^ XmlNsForClrTypeWithAssembly { System::String ^ get(); };
public static string XmlNsForClrTypeWithAssembly { get; }
static member XmlNsForClrTypeWithAssembly : string
Public Shared ReadOnly Property XmlNsForClrTypeWithAssembly As String
속성 값
어셈블리가 있지만 네이티브 네임스페이스가 없는 공용 언어 런타임 클래스의 XML 인코딩에 사용해야 하는 기본 XML 네임스페이스 접두사입니다.
예외
즉시 호출자에게 인프라 권한이 없습니다.
예제
다음 코드 예제에서는이 속성을 사용 하는 방법을 보여 있습니다. 이 코드 예제는 클래스에 제공된 더 큰 예제의 SoapServices 일부입니다.
// Print the XML namespace for the CLR types
// that have an assembly but no common language runtime namespace.
Console::WriteLine( L"The XML namespace for the CLR types "
L"that have an assembly but no namespace, is {0}.",
SoapServices::XmlNsForClrTypeWithAssembly );
// Print the XML namespace for the CLR types
// that have an assembly but no common language runtime namespace.
Console.WriteLine(
"The XML namespace for the CLR types " +
"that have an assembly but no namespace, is {0}.",
SoapServices.XmlNsForClrTypeWithAssembly);
설명
WSDL 및 SOAP 프로토콜은 공용 언어 런타임 클래스를 XML 네임스페이스로 인코딩합니다. 현재 속성은 XML 네임스페이스의 형식을 지정합니다. 공용 언어 런타임 클래스에 어셈블리가 있지만 네임스페이스가 없는 경우 현재 속성은 사용되는 기본 XML 네임스페이스를 반환합니다.