ValueCollectionParameterReader.GetInitializer(LogicalMethodInfo) 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.
Retourne un initialiseur pour la méthode spécifiée.
public:
override System::Object ^ GetInitializer(System::Web::Services::Protocols::LogicalMethodInfo ^ methodInfo);
public override object GetInitializer(System.Web.Services.Protocols.LogicalMethodInfo methodInfo);
override this.GetInitializer : System.Web.Services.Protocols.LogicalMethodInfo -> obj
Public Overrides Function GetInitializer (methodInfo As LogicalMethodInfo) As Object
Paramètres
- methodInfo
- LogicalMethodInfo
Qui LogicalMethodInfo spécifie la méthode Web pour laquelle l’initialiseur est obtenu.
Retours
Représentant LogicalMethodInfo la méthode Web.
Remarques
L’objet retourné par la GetInitializer méthode est la InParameters propriété du methodinfo paramètre. La InParameters valeur de propriété est un tableau de type ParameterInfo.
La méthode est appelée pendant l’initialisation GetInitializer du service. Plus tard, au moment où une requête est traitée, l’objet initialiseur est passé à la Initialize méthode d’une autre ValueCollectionParameterReader instance. L’autre instance effectue la lecture réelle.