Compartilhar via


MetricIdTypeConverter Class

Definition

Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics section of Event Hub Namespace inside Azure Portal

public class MetricIdTypeConverter : System.Management.Automation.PSTypeConverter
type MetricIdTypeConverter = class
    inherit PSTypeConverter
Public Class MetricIdTypeConverter
Inherits PSTypeConverter
Inheritance
MetricIdTypeConverter

Constructors

MetricIdTypeConverter()

Methods

CanConvertFrom(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

CanConvertTo(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

ConvertFrom(Object, Type, IFormatProvider, Boolean)

Converts the sourceValue parameter to the destinationType parameter using formatProvider and ignoreCase

ConvertTo(Object, Type, IFormatProvider, Boolean)

NotImplemented -- this will return null

Applies to