PersistedAssemblyBuilder.Save Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.