RedirectionDuration 类

定义

表示 SOAP 重定向有效的持续时间。Represents the duration that a SOAP redirection is in effect.

public ref class RedirectionDuration
[System.Serializable]
public class RedirectionDuration
[<System.Serializable>]
type RedirectionDuration = class
Public Class RedirectionDuration
继承
RedirectionDuration
属性

属性

Namespace

获取 RedirectionDuration 的命名空间。Gets the namespace of the RedirectionDuration.

Permanent

获取表示永久重定向的 RedirectionDurationGets the RedirectionDuration that represents a permanent redirection.

Temporary

获取表示临时重定向的 RedirectionDurationGets the RedirectionDuration that represents a temporary redirection.

Value

获取 RedirectionDuration 实例的值。Gets the value of the RedirectionDuration instance.

方法

Create(String, String)

使用指定的持续时间和命名空间创建一个新的 RedirectionDuration 实例。Creates a new RedirectionDuration instance with the specified duration and namespace.

Equals(Object)

确定指定对象是否与当前的 RedirectionDuration 实例相等。Determines whether the specified object is equal to the current RedirectionDuration instance.

GetHashCode()

获取此实例的哈希代码。Gets the hash code for this instance.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

将当前 RedirectionDuration 转换为其等效的字符串表示形式。Converts the current RedirectionDuration to its equivalent string representation.

运算符

Equality(RedirectionDuration, RedirectionDuration)

返回一个值,该值指示 RedirectionDuration 类型的两个实例是否相等。Returns a value that indicates whether two instances of the RedirectionDuration types are equal.

Inequality(RedirectionDuration, RedirectionDuration)

返回一个值,该值指示 RedirectionDuration 类型的两个实例是否不相等。Returns a value that indicates whether two instances of the RedirectionDuration types are not equal.

适用于