SPExternalApplicationProvider.OnApplicationWebPartCreateChildControls Method

When implemented in a derived class, calls logic that should run when the CreateChildControl method of a Web Part that hosts an external application runs.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public abstract SPExternalApplicationRequestResult OnApplicationWebPartCreateChildControls(
	SPExternalApplicationRequestProperties requestProperties
)

Parameters

requestProperties
Type: Microsoft.SharePoint.SPExternalApplicationRequestProperties

An object that holds information about the external application and its request token prefix.

Return Value

Type: Microsoft.SharePoint.SPExternalApplicationRequestResult
An object that contains a method that will produce the only child control of the Web Part; a Literal that contains an object tag for the external application and, optionally, also contains the client hash.

For more information about the role of this method, see How to: Create a Custom External Application Provider.

Show:
© 2015 Microsoft