你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceNamespacePatch.ToJson(JsonObject, SerializationMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes this instance of ResourceNamespacePatch into a JsonNode.
public Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.Json.JsonNode ToJson (Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.SerializationMode serializationMode);
abstract member ToJson : Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.Json.JsonObject * Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.SerializationMode -> Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.Json.JsonNode
override this.ToJson : Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.Json.JsonObject * Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.SerializationMode -> Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.Json.JsonNode
Public Function ToJson (container As JsonObject, serializationMode As SerializationMode) As JsonNode
Parameters
- container
- JsonObject
The JsonObject container to serialize this object into. If the caller
passes in null
, a new instance will be created and returned to the caller.
- serializationMode
- SerializationMode
Allows the caller to choose the depth of the serialization. See SerializationMode.
Returns
a serialized instance of ResourceNamespacePatch as a JsonNode.