ServiceJsonRpcDescriptor Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
ServiceJsonRpcDescriptor(ServiceJsonRpcDescriptor) |
Menginisialisasi instans ServiceJsonRpcDescriptor baru kelas dan menginisialisasi semua bidang berdasarkan instans templat. |
ServiceJsonRpcDescriptor(ServiceMoniker, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters) |
Menginisialisasi instans baru kelas ServiceJsonRpcDescriptor. |
ServiceJsonRpcDescriptor(ServiceMoniker, Type, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters) |
Menginisialisasi instans ServiceJsonRpcDescriptor baru kelas dan tidak ada dukungan untuk membuka aliran tambahan kecuali dengan mengandalkan broker layanan yang mendasar untuk menyediakannya. |
ServiceJsonRpcDescriptor(ServiceMoniker, Type, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters, MultiplexingStream+Options) |
Menginisialisasi instans ServiceJsonRpcDescriptor baru kelas dan melakukan dukungan untuk membuka aliran tambahan dengan MultiplexingStreamOptions. |
ServiceJsonRpcDescriptor(ServiceJsonRpcDescriptor)
Menginisialisasi instans ServiceJsonRpcDescriptor baru kelas dan menginisialisasi semua bidang berdasarkan instans templat.
protected:
ServiceJsonRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor ^ copyFrom);
protected ServiceJsonRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor copyFrom);
new Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor : Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor
Protected Sub New (copyFrom As ServiceJsonRpcDescriptor)
Parameter
- copyFrom
- ServiceJsonRpcDescriptor
Instans untuk menyalin semua bidang dari.
Berlaku untuk
ServiceJsonRpcDescriptor(ServiceMoniker, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters)
Menginisialisasi instans baru kelas ServiceJsonRpcDescriptor.
public:
ServiceJsonRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceMoniker ^ serviceMoniker, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::Formatters formatter, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::MessageDelimiters messageDelimiter);
public ServiceJsonRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters formatter, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters messageDelimiter);
new Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor
Public Sub New (serviceMoniker As ServiceMoniker, formatter As ServiceJsonRpcDescriptor.Formatters, messageDelimiter As ServiceJsonRpcDescriptor.MessageDelimiters)
Parameter
- serviceMoniker
- ServiceMoniker
Layanan moniker.
- formatter
- ServiceJsonRpcDescriptor.Formatters
Formatter yang digunakan untuk pesan JSON-RPC.
- messageDelimiter
- ServiceJsonRpcDescriptor.MessageDelimiters
Skema pemisah pesan yang akan digunakan.
Berlaku untuk
ServiceJsonRpcDescriptor(ServiceMoniker, Type, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters)
Menginisialisasi instans ServiceJsonRpcDescriptor baru kelas dan tidak ada dukungan untuk membuka aliran tambahan kecuali dengan mengandalkan broker layanan yang mendasar untuk menyediakannya.
public:
ServiceJsonRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceMoniker ^ serviceMoniker, Type ^ clientInterface, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::Formatters formatter, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::MessageDelimiters messageDelimiter);
public ServiceJsonRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Type? clientInterface, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters formatter, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters messageDelimiter);
new Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor : Microsoft.ServiceHub.Framework.ServiceMoniker * Type * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor
Public Sub New (serviceMoniker As ServiceMoniker, clientInterface As Type, formatter As ServiceJsonRpcDescriptor.Formatters, messageDelimiter As ServiceJsonRpcDescriptor.MessageDelimiters)
Parameter
- serviceMoniker
- ServiceMoniker
Layanan moniker.
- clientInterface
- Type
Jenis antarmuka yang diharapkan untuk diterapkan oleh target RPC "callback" klien. Mungkin null jika layanan tidak memanggil metode pada klien.
- formatter
- ServiceJsonRpcDescriptor.Formatters
Formatter yang digunakan untuk pesan JSON-RPC.
- messageDelimiter
- ServiceJsonRpcDescriptor.MessageDelimiters
Skema pemisah pesan yang akan digunakan.
Berlaku untuk
ServiceJsonRpcDescriptor(ServiceMoniker, Type, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters, MultiplexingStream+Options)
Menginisialisasi instans ServiceJsonRpcDescriptor baru kelas dan melakukan dukungan untuk membuka aliran tambahan dengan MultiplexingStreamOptions.
public:
ServiceJsonRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceMoniker ^ serviceMoniker, Type ^ clientInterface, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::Formatters formatter, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::MessageDelimiters messageDelimiter, Nerdbank::Streams::MultiplexingStream::Options ^ multiplexingStreamOptions);
public ServiceJsonRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Type? clientInterface, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters formatter, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters messageDelimiter, Nerdbank.Streams.MultiplexingStream.Options? multiplexingStreamOptions);
new Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor : Microsoft.ServiceHub.Framework.ServiceMoniker * Type * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters * Nerdbank.Streams.MultiplexingStream.Options -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor
Public Sub New (serviceMoniker As ServiceMoniker, clientInterface As Type, formatter As ServiceJsonRpcDescriptor.Formatters, messageDelimiter As ServiceJsonRpcDescriptor.MessageDelimiters, multiplexingStreamOptions As MultiplexingStream.Options)
Parameter
- serviceMoniker
- ServiceMoniker
Layanan moniker.
- clientInterface
- Type
Jenis antarmuka yang diharapkan untuk diterapkan oleh target RPC "callback" klien. Mungkin null jika layanan tidak memanggil metode pada klien.
- formatter
- ServiceJsonRpcDescriptor.Formatters
Formatter yang digunakan untuk pesan JSON-RPC.
- messageDelimiter
- ServiceJsonRpcDescriptor.MessageDelimiters
Skema pemisah pesan yang akan digunakan.
- multiplexingStreamOptions
- Nerdbank.Streams.MultiplexingStream.Options
Opsi yang Nerdbank.Streams.MultiplexingStream dapat dibuat. Nilai null
akan mencegah Nerdbank.Streams.MultiplexingStream dibuatnya koneksi RPC.