KGy SOFT

WeakAssemblySerializationBinderBindToType Method

KGy SOFT Core Libraries Help
Retrieves a type by its assemblyName and typeName.

Namespace:  KGySoft.Serialization.Binary
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0-rc.2
Syntax

public override Type BindToType(
	string assemblyName,
	string typeName
)

Parameters

assemblyName
Type: SystemString
Specifies the Assembly name of the serialized object.
typeName
Type: SystemString
Specifies the Type name of the serialized object.

Return Value

Type: Type
The type of the resolved object to create.

Implements

ISerializationBinderBindToType(String, String)
Exceptions

ExceptionCondition
SerializationExceptionThe type cannot be resolved or the assembly cannot be loaded.
See Also

Reference