PersistedAssemblyBuilder.Save Method

Definition

Overloads

Save(Stream)

Serializes the assembly to the specified stream.

Save(String)

Saves the assembly to disk.

Save(Stream)

Serializes the assembly to the specified stream.

C#
public void Save(System.IO.Stream stream);

Parameters

stream
Stream

The Stream to which the assembly should be serialized.

Exceptions

stream is null.

A module not defined for the assembly.

The metadata already populated for the assembly before.

Applies to

.NET 10 ja .NET 9
Toode Versioonid
.NET 9, 10

Save(String)

Saves the assembly to disk.

C#
public void Save(string assemblyFileName);

Parameters

assemblyFileName
String

The file name of the assembly.

Exceptions

assemblyFileName is null.

A module not defined for the assembly.

The metadata already populated for the assembly before.

Applies to

.NET 10 ja .NET 9
Toode Versioonid
.NET 9, 10