Click or drag to resize
SerializerGeneratorGenerateAssemblyFile Method (String)

Note: This API is now obsolete.

Generates the serializer assembly and save it to specified directory.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[ObsoleteAttribute("Use static GenerateAssembly method instead.")]
public void GenerateAssemblyFile(
	string directory
)

Parameters

directory
Type: SystemString
The path of directory where newly generated assembly file will be located. If the directory does not exist, then it will be created.

Return Value

Type: 
The path of generated files.
Exceptions
ExceptionCondition
ArgumentNullExceptiondirectory is null.
ArgumentExceptiondirectory is not valid.
PathTooLongExceptiondirectory is too long.
DirectoryNotFoundExceptiondirectory is existent file.
UnauthorizedAccessExceptionCannot create specified directory for access control of file system.
IOExceptionSome I/O error is occurred on creating directory or saving assembly file.
See Also