[Visual Basic] Public Shared Sub RegisterWellKnownType( _ ByVal assemblyName As String, _ ByVal typeName As String, _ ByVal URI As String, _ ByVal mode As WellKnownObjectMode _ ) [C#] public static void RegisterWellKnownType( string assemblyName, string typeName, string URI, WellKnownObjectMode mode ); [C++] public: static void RegisterWellKnownType( String* assemblyName, String* typeName, String* URI, WellKnownObjectMode mode ); [JScript] public static function RegisterWellKnownType( assemblyName : String, typeName : String, URI : String, mode : WellKnownObjectMode );
Exception Type | Condition |
---|---|
ArgumentNullException | Throws an ArgumentNullException if either typeName or URI is NULL |
RemotingServices Class | RemotingServices Members | System.Runtime.Remoting Namespace