แก้ไข

แชร์ผ่าน


ActivityWithResultValueSerializer Class

Definition

Ensures that the result of an activity is properly converted to a string that can be used for serial transmission.

public ref class ActivityWithResultValueSerializer sealed : System::Windows::Markup::ValueSerializer
public sealed class ActivityWithResultValueSerializer : System.Windows.Markup.ValueSerializer
type ActivityWithResultValueSerializer = class
    inherit ValueSerializer
Public NotInheritable Class ActivityWithResultValueSerializer
Inherits ValueSerializer
Inheritance
ActivityWithResultValueSerializer

Constructors

ActivityWithResultValueSerializer()

Creates a new instance of the ActivityWithResultValueSerializer class.

Methods

CanConvertFromString(String, IValueSerializerContext)

When overridden in a derived class, determines whether the specified String can be converted to an instance of the type that the implementation of ValueSerializer supports.

(Inherited from ValueSerializer)
CanConvertToString(Object, IValueSerializerContext)

Returns an indication whether an input object is an IValueSerializableExpression that can be serialized into a string.

ConvertFromString(String, IValueSerializerContext)

When overridden in a derived class, converts a String to an instance of the type that the implementation of ValueSerializer supports.

(Inherited from ValueSerializer)
ConvertToString(Object, IValueSerializerContext)

Serializes the specified object into a string.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetConvertFromException(Object)

Returns an exception to throw when a conversion cannot be performed.

(Inherited from ValueSerializer)
GetConvertToException(Object, Type)

Returns an exception to throw when a conversion cannot be performed.

(Inherited from ValueSerializer)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TypeReferences(Object, IValueSerializerContext)

Gets an enumeration of the types referenced by the ValueSerializer.

(Inherited from ValueSerializer)

Applies to