Click or drag to resize
Ranorex

RemoteEndpointFactoryExtensionsCreateMobileEndpoint Method

Creates a new Mobile endpoint. Override for session time endpoint with same name. Changes root to localhost if endpoint is root.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Plugin.Mobile (in Ranorex.Plugin.Mobile.dll) Version: 12.7.4-git.38314c06
Syntax
public static IRemoteEndpoint CreateMobileEndpoint(
	this RemoteEndpointFactory factory,
	MobileEndpointInfo info
)

Parameters

factory
Type: Ranorex.CoreRemoteEndpointFactory
RemoteEndpointFactory instance.
info
Type: Ranorex.CoreMobileEndpointInfo
Information object to define an endpoint.

Return Value

Type: IRemoteEndpoint
New Mobile endpoint.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RemoteEndpointFactory. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also