Message.RegisterCustomDataType

Method

Visual Basic

Public Shared Sub RegisterCustomDataType(
    ByVal type As Type,
    ByVal customDataTypeAdapter As ICustomDataTypeAdapter)

C#

public static void RegisterCustomDataType(
    Type type,
    ICustomDataTypeAdapter customDataTypeAdapter);

Purpose

Register a custom datatype for automatic encoding and decoding.

Parameter

Description

type

Register this .NET type (that is, a class defined in your program) as a Rendezvous custom datatype.

customDataTypeAdapter

Register this adapter class (defined in your program) to encode and decode instances of the custom datatype.

See Also

ICustomDataType

ICustomDataTypeAdapter