AssemblyMetadata.CreateFromStream Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CreateFromStream(Stream, Boolean) |
Crée un assembly à module unique. |
CreateFromStream(Stream, PEStreamOptions) |
Crée un assembly à module unique. |
CreateFromStream(Stream, Boolean)
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
Crée un assembly à module unique.
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromStream (System.IO.Stream peStream, bool leaveOpen = false);
static member CreateFromStream : System.IO.Stream * bool -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromStream (peStream As Stream, Optional leaveOpen As Boolean = false) As AssemblyMetadata
Paramètres
- peStream
- Stream
Flux d’images PE du module manifeste.
- leaveOpen
- Boolean
False pour fermer le flux lors de la suppression des métadonnées.
Retours
Exceptions
Le format d’image PE n’est pas valide.
S’applique à
CreateFromStream(Stream, PEStreamOptions)
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
Crée un assembly à module unique.
public:
static Microsoft::CodeAnalysis::AssemblyMetadata ^ CreateFromStream(System::IO::Stream ^ peStream, System::Reflection::PortableExecutable::PEStreamOptions options);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromStream (System.IO.Stream peStream, System.Reflection.PortableExecutable.PEStreamOptions options);
static member CreateFromStream : System.IO.Stream * System.Reflection.PortableExecutable.PEStreamOptions -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromStream (peStream As Stream, options As PEStreamOptions) As AssemblyMetadata
Paramètres
- peStream
- Stream
Flux d’images PE du module manifeste.
- options
- PEStreamOptions
False pour fermer le flux lors de la suppression des métadonnées.
Retours
Exceptions
Le format d’image PE n’est pas valide.