Redigeeri

Jagamisviis:


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.

public:
 void Save(System::IO::Stream ^ stream);
public void Save (System.IO.Stream stream);
member this.Save : System.IO.Stream -> unit
Public Sub Save (stream As 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

Save(String)

Saves the assembly to disk.

public:
 void Save(System::String ^ assemblyFileName);
public void Save (string assemblyFileName);
member this.Save : string -> unit
Public Sub Save (assemblyFileName As String)

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