InitializableConfigurationElement.CreateDependency Kaedah (Func, Object[], Func, Object[])

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Ruang nama: Microsoft.Xrm.Client.Configuration
Perhimpunan: Microsoft.Xrm.Client (dalam Microsoft.Xrm.Client.dll)

'Penggunaan
Dim createDefault1 As Func(Of TDefault1)
Dim args1 As Object()
Dim createDefault2 As Func(Of TDefault2)
Dim args2 As Object()
Dim returnValue As TDependency

returnValue = Me.CreateDependency(createDefault1, args1, createDefault2, args2)

protected TDependency CreateDependency<TDefault1,TDefault2> (
	Func<TDefault1> createDefault1,
	Object[] args1,
	Func<TDefault2> createDefault2,
	Object[] args2
) where TDefault1 : TDefault2 where TDefault2 : TDependency

GenericParameters

TDefault1

TDefault2

Parameter

createDefault1

args1

createDefault2

args2

Nilai Pulangan

Type: {0}.

Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

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

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