PersistedAssemblyBuilder Constructor
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.
Creates a PersistedAssemblyBuilder instance that can be saved to a file or stream.
public PersistedAssemblyBuilder (System.Reflection.AssemblyName name, System.Reflection.Assembly coreAssembly, System.Collections.Generic.IEnumerable<System.Reflection.Emit.CustomAttributeBuilder>? assemblyAttributes = default);
new System.Reflection.Emit.PersistedAssemblyBuilder : System.Reflection.AssemblyName * System.Reflection.Assembly * seq<System.Reflection.Emit.CustomAttributeBuilder> -> System.Reflection.Emit.PersistedAssemblyBuilder
Public Sub New (name As AssemblyName, coreAssembly As Assembly, Optional assemblyAttributes As IEnumerable(Of CustomAttributeBuilder) = Nothing)
Parameters
- name
- AssemblyName
The name of the assembly.
- coreAssembly
- Assembly
The assembly that denotes the "system assembly" that houses the well-known types such as Object
- assemblyAttributes
- IEnumerable<CustomAttributeBuilder>
A collection that contains the attributes of the assembly.
Exceptions
The name
or name.Name.Name
or coreAssembly
is null
.
Remarks
Currently the persisted assembly doesn't support running. You must save it and load it back to run.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.