다음을 통해 공유


IPluginExecutionContext 인터페이스

Defines the contextual information passed to a plug-in at run-time. Contains information that describes the run-time environment that the plug-in is executing in, information related to the execution pipeline, and entity business information.

네임스페이스: Microsoft.Xrm.Sdk
어셈블리: Microsoft.Xrm.Sdk(Microsoft.Xrm.Sdk.dll에 있음)

구문

‘선언
Public Interface IPluginExecutionContext
    Inherits IExecutionContext
public interface IPluginExecutionContext : IExecutionContext

설명

The execution context is passed to a plug-in at run time in the System.IServiceProvider parameter of the Execute method. You can obtain the context from the service provider as shown in the following plug-in code.

// Obtain the execution context from the service provider.
IPluginExecutionContext context = (IPluginExecutionContext)
    serviceProvider.GetService(typeof(IPluginExecutionContext));

플랫폼

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Change History

참고 항목

참조

IPluginExecutionContext 구성원
Microsoft.Xrm.Sdk 네임스페이스

기타 리소스

Understand the Data Context Passed to a Plug-in
Plug-ins for Extending Microsoft Dynamics CRM

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.