InfoConnect for Airlines
CreateApplication(String) Method
Example 


IPC channel name. The channel name must have the same format as a valid Internet hostname. Names can contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-'). No other symbols, punctuation characters, or white space are permitted.
Creates an application that represents the instance of MyReflection running at the specified IPC channel.
Syntax
'Declaration
 
<SuppressMessageAttribute(Category="Microsoft.Design", 
   CheckId="CA1057:StringUriOverloadsCallSystemUriOverloads", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")>
Public Overloads Shared Function CreateApplication( _
   ByVal channelName As String _
) As Application
'Usage
 
Dim channelName As String
Dim value As Application
 
value = MyReflection.CreateApplication(channelName)
[SuppressMessage(Category="Microsoft.Design", 
   CheckId="CA1057:StringUriOverloadsCallSystemUriOverloads", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")]
public static Application CreateApplication( 
   string channelName
)

Parameters

channelName
IPC channel name. The channel name must have the same format as a valid Internet hostname. Names can contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-'). No other symbols, punctuation characters, or white space are permitted.

Return Value

An Application object.
Example
This sample starts two InfoConnect instances and assigns channel names to each instance. Then it gets handles to the instances with those channel names.

	
See Also