Search Results for

    Show / Hide Table of Contents

    Class PingRule

    Inheritance
    object
    RuleBase<PingRule>
    PingRule
    Implements
    IRule
    Inherited Members
    RuleBase<PingRule>.OnPort(int)
    RuleBase<PingRule>.Takes(TimeSpan)
    RuleBase<PingRule>.ReturnResponse<T>(T)
    RuleBase<PingRule>.ReturnByteResponse(byte[], string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net.VirtualizedCluster.Rules
    Assembly: OpenSearch.Net.VirtualizedCluster.dll
    Syntax
    public class PingRule : RuleBase<PingRule>, IRule

    Methods

    | Edit this page View Source

    FailAlways(RuleOption<Exception, int>)

    Declaration
    public PingRule FailAlways(RuleOption<Exception, int> errorState = null)
    Parameters
    Type Name Description
    RuleOption<Exception, int> errorState
    Returns
    Type Description
    PingRule
    | Edit this page View Source

    Fails(RuleOption<AllTimes, int>, RuleOption<Exception, int>)

    Declaration
    public PingRule Fails(RuleOption<TimesHelper.AllTimes, int> times, RuleOption<Exception, int> errorState = null)
    Parameters
    Type Name Description
    RuleOption<TimesHelper.AllTimes, int> times
    RuleOption<Exception, int> errorState
    Returns
    Type Description
    PingRule
    | Edit this page View Source

    SucceedAlways(int?)

    Declaration
    public PingRule SucceedAlways(int? validResponseCode = 200)
    Parameters
    Type Name Description
    int? validResponseCode
    Returns
    Type Description
    PingRule
    | Edit this page View Source

    Succeeds(RuleOption<AllTimes, int>, int?)

    Declaration
    public PingRule Succeeds(RuleOption<TimesHelper.AllTimes, int> times, int? validResponseCode = 200)
    Parameters
    Type Name Description
    RuleOption<TimesHelper.AllTimes, int> times
    int? validResponseCode
    Returns
    Type Description
    PingRule

    Implements

    IRule

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • FailAlways(RuleOption<Exception, int>)
      • Fails(RuleOption<AllTimes, int>, RuleOption<Exception, int>)
      • SucceedAlways(int?)
      • Succeeds(RuleOption<AllTimes, int>, int?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX