次の方法で共有


ClientRuntimeContext.AddClientTypeAssembly メソッド

Stores the client library type of the calling assembly.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight.Runtime (Microsoft.SharePoint.Client.Silverlight.Runtime.dll 内);  Microsoft.SharePoint.Client.Phone.Runtime (Microsoft.SharePoint.Client.Phone.Runtime.dll 内)  Microsoft.SharePoint.Client.Runtime (Microsoft.SharePoint.Client.Runtime.dll 内)

構文

'宣言
Public Shared Sub AddClientTypeAssembly ( _
    assembly As Assembly _
)
'使用
Dim assembly As [Assembly]

ClientRuntimeContext.AddClientTypeAssembly(assembly)
public static void AddClientTypeAssembly(
    Assembly assembly
)

パラメーター

注釈

By default, the runtime checks all of the loaded assemblies and retrieves the client type information. This process is executed only once, when the runtime needs the client type information. If the assembly is dynamically loaded after the process, the runtime will not retrieve the client type information. Therefore, this method should be called for all dynamically loaded assemblies that contain client library types that have the ClientTypeAssemblyAttribute attribute.

関連項目

参照先

ClientRuntimeContext クラス

ClientRuntimeContext メンバー

Microsoft.SharePoint.Client 名前空間