Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GenerateMethod Method

ProtocolImporter.GenerateMethod Method

When overridden in a derived class, generates method code for binding classes.

Namespace:  System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

protected abstract CodeMemberMethod GenerateMethod()

Return Value

Type: System.CodeDom.CodeMemberMethod
The generated method.

When generating code, the ProtocolImporter class calls the GenerateMethod method for each binding class method that represents an operation.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 3.5 SP1
© 2015 Microsoft