PersistedAssemblyBuilder.Save Method
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.
Save(Stream) |
Serializes the assembly to the specified stream. |
Save(String) |
Saves the assembly to disk. |
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
.NET 10 ja .NET 9
Toode | Versioonid |
---|---|
.NET | 9, 10 |
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
.NET 10 ja .NET 9
Toode | Versioonid |
---|---|
.NET | 9, 10 |
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: