XmlSerializationReader.ReadReferencingElement 方法

定义

从 SOAP 消息中包含对元素的引用的 XML 元素反序列化对象 multiRef

重载

名称 说明
ReadReferencingElement(String)

此 API 支持产品基础结构,不能在代码中直接使用。

从 SOAP 消息中包含对元素的引用的 XML 元素反序列化对象 multiRef

ReadReferencingElement(String, String, String)

此 API 支持产品基础结构,不能在代码中直接使用。

从 SOAP 消息中包含对元素的引用的 XML 元素反序列化对象 multiRef

ReadReferencingElement(String, String, Boolean, String)

此 API 支持产品基础结构,不能在代码中直接使用。

从 SOAP 消息中包含对元素的引用的 XML 元素反序列化对象 multiRef

注解

XmlSerializationReader的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

ReadReferencingElement(String)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

从 SOAP 消息中包含对元素的引用的 XML 元素反序列化对象 multiRef

此 API 支持产品基础结构,不能在代码中直接使用。

protected:
 System::Object ^ ReadReferencingElement([Runtime::InteropServices::Out] System::String ^ % fixupReference);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
protected object? ReadReferencingElement(out string? fixupReference);
protected object? ReadReferencingElement(out string? fixupReference);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
protected object? ReadReferencingElement(out string? fixupReference);
protected object ReadReferencingElement(out string fixupReference);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.ReadReferencingElement : string -> obj
member this.ReadReferencingElement : string -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.ReadReferencingElement : string -> obj
Protected Function ReadReferencingElement (ByRef fixupReference As String) As Object

参数

fixupReference
String

要在其中读取属性值的 href 输出字符串。

返回

反序列化的对象。

属性

注解

XmlSerializationReader的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

SOAP 编码允许唯一的 XML 元素在 SOAP 消息 multiRef 中显示为由属性标识的 id 元素。 id可以使用替换元素中的属性(或 href SOAP 1.2 中的属性)多次ref引用该值。

SOAP 编码在 SOAP 1.1 规范的第 5 节中介绍。

适用于

ReadReferencingElement(String, String, String)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

从 SOAP 消息中包含对元素的引用的 XML 元素反序列化对象 multiRef

此 API 支持产品基础结构,不能在代码中直接使用。

protected:
 System::Object ^ ReadReferencingElement(System::String ^ name, System::String ^ ns, [Runtime::InteropServices::Out] System::String ^ % fixupReference);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
protected object? ReadReferencingElement(string? name, string? ns, out string? fixupReference);
protected object? ReadReferencingElement(string? name, string? ns, out string? fixupReference);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
protected object? ReadReferencingElement(string? name, string? ns, out string? fixupReference);
protected object ReadReferencingElement(string name, string ns, out string fixupReference);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.ReadReferencingElement : string * string * string -> obj
member this.ReadReferencingElement : string * string * string -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.ReadReferencingElement : string * string * string -> obj
Protected Function ReadReferencingElement (name As String, ns As String, ByRef fixupReference As String) As Object

参数

name
String

元素的 XML 架构数据类型的本地名称。

ns
String

元素的 XML 架构数据类型的命名空间。

fixupReference
String

要在其中读取属性值的 href 输出字符串。

返回

反序列化的对象。

属性

注解

XmlSerializationReader的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

SOAP 编码允许唯一的 XML 元素在 SOAP 消息 multiRef 中显示为由属性标识的 id 元素。 id可以使用替换元素中的属性(或 href SOAP 1.2 中的属性)多次ref引用该值。

SOAP 编码在 SOAP 1.1 规范的第 5 节中介绍。

适用于

ReadReferencingElement(String, String, Boolean, String)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

从 SOAP 消息中包含对元素的引用的 XML 元素反序列化对象 multiRef

此 API 支持产品基础结构,不能在代码中直接使用。

protected:
 System::Object ^ ReadReferencingElement(System::String ^ name, System::String ^ ns, bool elementCanBeType, [Runtime::InteropServices::Out] System::String ^ % fixupReference);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
protected object? ReadReferencingElement(string? name, string? ns, bool elementCanBeType, out string? fixupReference);
protected object? ReadReferencingElement(string? name, string? ns, bool elementCanBeType, out string? fixupReference);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
protected object? ReadReferencingElement(string? name, string? ns, bool elementCanBeType, out string? fixupReference);
protected object ReadReferencingElement(string name, string ns, bool elementCanBeType, out string fixupReference);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.ReadReferencingElement : string * string * bool * string -> obj
member this.ReadReferencingElement : string * string * bool * string -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.ReadReferencingElement : string * string * bool * string -> obj
Protected Function ReadReferencingElement (name As String, ns As String, elementCanBeType As Boolean, ByRef fixupReference As String) As Object

参数

name
String

元素的 XML 架构数据类型的本地名称。

ns
String

元素的 XML 架构数据类型的命名空间。

elementCanBeType
Boolean

true 如果元素名称也是 XML 架构数据类型名称,则为 ;否则,为 false.

fixupReference
String

要在其中读取特性值的 href 输出字符串。

返回

反序列化的对象。

属性

注解

XmlSerializationReader的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

SOAP 编码允许唯一的 XML 元素在 SOAP 消息 multiRef 中显示为由属性标识的 id 元素。 id可以使用替换元素中的属性(或 href SOAP 1.2 中的属性)多次ref引用该值。

SOAP 编码在 SOAP 1.1 规范的第 5 节中介绍。

适用于