Visual Basic (Declaration) | |
---|---|
Function AddKnownTypes() As IEnumerable(Of Type) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IKnownTypeProvider Dim value As IEnumerable(Of Type) value = instance.AddKnownTypes() |
C# | |
---|---|
IEnumerable<Type> AddKnownTypes() |
C++/CLI | |
---|---|
IEnumerable<Type^>^ AddKnownTypes(); |
This method will be called when communications are initialized on both the client and the server. The method may also be called when the EntityCacheState is saved or restored, and when the various SerializationFns are called. The publicly available method KnownTypeHelper.GetServiceKnownTypes also calls this method.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family