语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

NetworkProtocol Struct

Definition

Network Protocol.

public readonly struct NetworkProtocol : IEquatable<Azure.ResourceManager.Network.Models.NetworkProtocol>
type NetworkProtocol = struct
Public Structure NetworkProtocol
Implements IEquatable(Of NetworkProtocol)
Inheritance
NetworkProtocol
Implements

Constructors

Name Description
NetworkProtocol(String)

Initializes a new instance of NetworkProtocol.

Properties

Name Description
Any

Any.

Icmp

ICMP.

Tcp

TCP.

Udp

UDP.

Methods

Name Description
Equals(NetworkProtocol)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(NetworkProtocol, NetworkProtocol)

Determines if two NetworkProtocol values are the same.

Implicit(String to NetworkProtocol)

Converts a string to a NetworkProtocol.

Implicit(String to Nullable<NetworkProtocol>)
Inequality(NetworkProtocol, NetworkProtocol)

Determines if two NetworkProtocol values are not the same.

Applies to